Fix stale app UI (supabase) & overall E2E test infra improvements (#337)
Fixes #269
This commit is contained in:
@@ -258,6 +258,10 @@ export class PageObject {
|
||||
.click();
|
||||
}
|
||||
|
||||
async clickBackButton() {
|
||||
await this.page.getByRole("button", { name: "Back" }).click();
|
||||
}
|
||||
|
||||
async sendPrompt(prompt: string) {
|
||||
await this.getChatInput().click();
|
||||
await this.getChatInput().fill(prompt);
|
||||
@@ -382,6 +386,10 @@ export class PageObject {
|
||||
await this.page.getByTestId("app-details-more-options-button").click();
|
||||
}
|
||||
|
||||
async clickConnectSupabaseButton() {
|
||||
await this.page.getByTestId("connect-supabase-button").click();
|
||||
}
|
||||
|
||||
////////////////////////////////
|
||||
// Settings related
|
||||
////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user