/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
modules/benchmarks/src/largetable/largetable.e2e-spec.ts
31 строка
886 B
Kristiyan Kostadinov
build: initial test of TypeScript 6
16 янв 2026, 00:41
16 янв 2026, 00:41
d9c980a
Код
Авторство
О чём код?
/** * @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.js'; import {$} from 'protractor'; describe('largetable benchmark', () => { afterEach(verifyNoBrowserErrors); it(`should render the table`, async () => { openBrowser({ url: '', ignoreBrowserSynchronization: true, params: [ {name: 'cols', value: 5}, {name: 'rows', value: 5}, ], }); await $('#createDom').click(); expect($('#root').getText()).toContain('0/0'); await $('#createDom').click(); expect($('#root').getText()).toContain('A/A'); await $('#destroyDom').click(); expect($('#root').getText() as any).toEqual(''); }); });