Files
angular__angular/modules/benchmarks/src/hydration/hydration.e2e-spec.ts
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
741 B
TypeScript
Raw Normal View History

/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.dev/license
*/
import {openBrowser, verifyNoBrowserErrors} from '../../../utilities/index';
import {$} from 'protractor';
describe('hydration benchmark', () => {
afterEach(verifyNoBrowserErrors);
it(`should render the table`, async () => {
openBrowser({
url: '',
ignoreBrowserSynchronization: true,
params: [
{name: 'cols', value: 5},
{name: 'rows', value: 5},
],
});
await $('#prepare').click();
await $('#createDom').click();
expect($('#table').getText()).toContain('0/0');
});
});