Playwright start

This commit is contained in:
2026-05-30 10:04:12 -04:00
parent 73f29cea08
commit 1f7a0819fc
108 changed files with 37445 additions and 62 deletions
@@ -0,0 +1,16 @@
class TimelineComponent {
constructor(page) {
this.page = page;
}
container() {
return this.page.locator('.calculatorGrid > div').filter({ hasText: 'Timeline highlights' });
}
async containsEntity(name) {
const text = (await this.container().textContent()) || '';
return text.includes(name);
}
}
module.exports = TimelineComponent;