Skip to content

Commit

Permalink
update(test): fix ci tests for placehold chatbar pr
Browse files Browse the repository at this point in the history
  • Loading branch information
luisecm committed Sep 12, 2024
1 parent 947e9a7 commit 17b111e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: Satellite-im/UplinkWeb
ref: fix-placeholder-text-alignment-on-chatbar

- name: Checkout Automated Tests directory 🔖
uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions playwright/PageObjects/ChatsMain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ export class ChatsMainPage extends MainPage {
"chat-encrypted-text",
);
this.chatbar = this.page.getByTestId("chatbar");
this.chatbarInput = this.page
.locator(".cm-editor")
.locator(".cm-scroller")
.getByRole("textbox");
this.chatbarInput = this.chatbar
.locator(".input-group")
.locator(".input-container")
.locator("input");
this.chatbarInputContainer = this.chatbar
.locator(".input-group")
.locator(".input-container");
Expand Down

0 comments on commit 17b111e

Please sign in to comment.