Skip to content

Commit

Permalink
test: look in the correct place for terminal output
Browse files Browse the repository at this point in the history
  • Loading branch information
rjaegers committed Sep 27, 2024
1 parent 5d8b9de commit a1ecf51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .devcontainer/cpp/e2e/features/pages/codespace.pom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,6 @@ export class CodespacePage {

async expectFileContentsToMatch(actual: string, expected: string) {
await this.executeInTerminal(`diff -s ${actual} ${expected}`);
await expect(this.outputPanel).toContainText(`Files ${actual} and ${expected} are identical`);
await expect(this.page.locator('#terminal')).toContainText(`Files ${actual} and ${expected} are identical`);
}
}

0 comments on commit a1ecf51

Please sign in to comment.