docs: enable E2E test for setup example (#28592)
This guide is not being shown publicly, and its test is currently being ignored. Instead of deleting this test and guide, it may be repurposed in the future for a local development guide. PR Close #28592
This commit is contained in:
17
aio/content/examples/setup/e2e/src/app.e2e-spec.ts
Normal file
17
aio/content/examples/setup/e2e/src/app.e2e-spec.ts
Normal file
@ -0,0 +1,17 @@
|
||||
'use strict'; // necessary for es6 output in node
|
||||
|
||||
import { browser, element, by } from 'protractor';
|
||||
|
||||
describe('QuickStart E2E Tests', function () {
|
||||
|
||||
let expectedMsg = 'Hello Angular';
|
||||
|
||||
beforeEach(function () {
|
||||
browser.get('');
|
||||
});
|
||||
|
||||
it(`should display: ${expectedMsg}`, function () {
|
||||
expect(element(by.css('h1')).getText()).toEqual(expectedMsg);
|
||||
});
|
||||
|
||||
});
|
Reference in New Issue
Block a user