mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
e41a52286f
This reverts commit 9bc15994ce.
PR Close #55326
18 lines
607 B
TypeScript
18 lines
607 B
TypeScript
import { browser, element, by } from 'protractor';
|
|
|
|
describe('Accessibility example e2e tests', () => {
|
|
|
|
beforeEach(() => browser.get(''));
|
|
|
|
it('should display Accessibility Example', async () => {
|
|
expect(await element(by.css('h1')).getText()).toEqual('Accessibility Example');
|
|
});
|
|
|
|
it('should take a number and change progressbar width', async () => {
|
|
await element(by.css('input')).sendKeys('16');
|
|
expect(await element(by.css('input')).getAttribute('value')).toEqual('16');
|
|
expect(await element(by.css('app-example-progressbar div')).getCssValue('width')).toBe('48px');
|
|
});
|
|
|
|
});
|