chore: add linter to tests

This commit is contained in:
Jakub P.
2024-07-18 12:39:04 +02:00
parent 27610c002c
commit 0a1461231b
22 changed files with 66 additions and 33 deletions

View File

@@ -1,10 +1,11 @@
const { BasePage } = require('../../base-page');
const { AddGithubConnectionModal } = require('./add-github-connection-modal');
const { expect } = require('@playwright/test');
export class GithubPage extends BasePage {
constructor (page) {
super(page)
super(page);
this.addConnectionButton = page.getByTestId('add-connection-button');
this.connectionsTab = page.getByTestId('connections-tab');
this.flowsTab = page.getByTestId('flows-tab');
@@ -38,7 +39,7 @@ export class GithubPage extends BasePage {
await this.flowsTab.click();
await expect(this.flowsTab).toBeVisible();
}
return await this.flowRows.count() > 0
return await this.flowRows.count() > 0;
}
async hasConnections () {