@@ -35,7 +35,7 @@ export class HomePage {
|
|||||||
await this.page.goto(this.url);
|
await this.page.goto(this.url);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Otestování, zda jsou všechny odkazy v menu viditelné
|
// Otestování, zda jsou všechny odkazy v menu viditelné.
|
||||||
async checkMenuTexts(expectedTexts: string[]) {
|
async checkMenuTexts(expectedTexts: string[]) {
|
||||||
for (const text of expectedTexts) {
|
for (const text of expectedTexts) {
|
||||||
const item = this.page.getByText(text, { exact: true });
|
const item = this.page.getByText(text, { exact: true });
|
||||||
|
|||||||
Reference in New Issue
Block a user