Skip to content

Commit

Permalink
test: rebase tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt committed Feb 8, 2024
1 parent 160a509 commit 2d56e82
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/profile-discovery.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ test('should create run & debug profiles', async ({ activate }, testInfo) => {

expect(runProfiles[0].label).toBe(profileTitle);
expect(runProfiles[0].kind).toBe(vscode.TestRunProfileKind.Run);
expect(runProfiles[0].isDefault).toBeTruthy();
expect(runProfiles[0].isDefault).toBeFalsy();

expect(runProfiles[1].label).toBe(profileTitle);
expect(runProfiles[1].kind).toBe(vscode.TestRunProfileKind.Debug);
expect(runProfiles[1].isDefault).toBeTruthy();
expect(runProfiles[1].isDefault).toBeFalsy();

expect(vscode.renderExecLog(' ')).toBe(`
> playwright list-files -c playwright.config.js
Expand All @@ -57,19 +57,19 @@ test('should create run & debug profile per project', async ({ activate }, testI

expect(runProfiles[0].label).toBe('projectA — ' + configPath);
expect(runProfiles[0].kind).toBe(vscode.TestRunProfileKind.Run);
expect(runProfiles[0].isDefault).toBeTruthy();
expect(runProfiles[0].isDefault).toBeFalsy();

expect(runProfiles[1].label).toBe('projectA — ' + configPath);
expect(runProfiles[1].kind).toBe(vscode.TestRunProfileKind.Debug);
expect(runProfiles[1].isDefault).toBeTruthy();
expect(runProfiles[1].isDefault).toBeFalsy();

expect(runProfiles[2].label).toBe('projectB — ' + configPath);
expect(runProfiles[2].kind).toBe(vscode.TestRunProfileKind.Run);
expect(runProfiles[1].isDefault).toBeTruthy();
expect(runProfiles[1].isDefault).toBeFalsy();

expect(runProfiles[3].label).toBe('projectB — ' + configPath);
expect(runProfiles[3].kind).toBe(vscode.TestRunProfileKind.Debug);
expect(runProfiles[1].isDefault).toBeTruthy();
expect(runProfiles[1].isDefault).toBeFalsy();

expect(vscode.renderExecLog(' ')).toBe(`
> playwright list-files -c playwright.config.js
Expand Down

0 comments on commit 2d56e82

Please sign in to comment.