We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4464f24 commit e01a2c4Copy full SHA for e01a2c4
tools/pfe-tools/test/playwright/SSRPage.ts
@@ -82,6 +82,9 @@ export class SSRPage {
82
javaScriptEnabled: false,
83
}))
84
.newPage();
85
+ if (this.config.demoContent) {
86
+ await this.page.goto(`${this.host}test.html`);
87
+ }
88
}
89
90
private async initServer() {
@@ -135,6 +138,8 @@ export class SSRPage {
135
138
136
139
137
140
async updateCompleteFor(tagName: string): Promise<void> {
141
+ await this.initServer();
142
+ await this.initPage();
143
await this.page.$eval(tagName, el => (el as LitElement).updateComplete);
144
145
0 commit comments