Skip to content

Commit

Permalink
update(tests): fix tests to match latest uplink web (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
luisecm authored Aug 1, 2024
1 parent 1a881b9 commit 3860178
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default defineConfig({
/* Configure projects for major browsers */
projects: [
{
name: "chromium",
name: "Automated Tests on Chrome Desktop",
use: { ...devices["Desktop Chrome"] },
},

Expand Down
2 changes: 1 addition & 1 deletion playwright/specs/03-chats-sidebar.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ test.describe("Chats Sidebar Tests", () => {

await expect(chatsMainPage.createGroupLabelGroupName).toBeVisible();
await expect(chatsMainPage.createGroupLabelGroupName).toHaveText(
"Group Name:",
"Group name:",
);
await expect(chatsMainPage.createGroupInputGroupName).toBeVisible();
await expect(chatsMainPage.createGroupLabelGroupMembers).toHaveText(
Expand Down
2 changes: 1 addition & 1 deletion playwright/specs/13-settings-about.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ test.describe("Settings About Tests", () => {
page,
}) => {
// Label and texts for settings section are correct
await expect(settingsAbout.devModeSectionLabel).toHaveText("DevMode");
await expect(settingsAbout.devModeSectionLabel).toHaveText("Dev Mode");
await expect(settingsAbout.devModeSectionText).toHaveText(
"Click 10 times to enable developer settings.",
);
Expand Down
2 changes: 1 addition & 1 deletion playwright/specs/15-settings-developer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ test.describe("Settings Developer Tests", () => {
await page.waitForURL("/settings/developer");

// Validate header and description texts
await expect(settingsDeveloper.devModeSectionLabel).toHaveText("Devmode");
await expect(settingsDeveloper.devModeSectionLabel).toHaveText("Dev Mode");
await expect(settingsDeveloper.devModeSectionText).toHaveText(
"Disable devmode.",
);
Expand Down

0 comments on commit 3860178

Please sign in to comment.