Skip to content

Commit

Permalink
E2E test: fix issue with SCM test
Browse files Browse the repository at this point in the history
  • Loading branch information
testlabauto committed Jan 28, 2025
1 parent 8b04874 commit 69bff2f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/e2e/pages/scm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ export class SCM {
}
}

// debug
console.log(resources);

// Check if at least one resource matches both name and type
expect(resources).toEqual(
expect.arrayContaining([{ name, type }])
Expand All @@ -54,7 +57,7 @@ export class SCM {

async stage(name: string): Promise<void> {
await this.code.driver.page.locator(SCM_RESOURCE_ACTION_CLICK(name, 'Stage Changes')).click();
await this.waitForChange(name, 'Index Modified');

}

async commit(message: string): Promise<void> {
Expand Down

0 comments on commit 69bff2f

Please sign in to comment.