Skip to content

Commit

Permalink
restore original playwright settings
Browse files Browse the repository at this point in the history
  • Loading branch information
habdelra committed Feb 20, 2024
1 parent 722fc90 commit bb9bdac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
8 changes: 3 additions & 5 deletions packages/matrix/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ let group2 = tests.slice(middle);
export default defineConfig({
testDir: './tests',
fullyParallel: true,
// forbidOnly: !!process.env.CI,
// TODO remove this!
forbidOnly: false,
retries: process.env.CI ? 1 : 0,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
workers: 1,
reporter: 'html',
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
Expand Down Expand Up @@ -51,6 +49,6 @@ export default defineConfig({

// For expect calls
expect: {
timeout: 30000,
timeout: 60000,
},
});
3 changes: 1 addition & 2 deletions packages/matrix/tests/messages.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ test.describe('Room messages', () => {
).toHaveValue('room 2 message');
});

// TODO remove this!!
test.only('can add a card to a markdown message', async ({ page }) => {
test('can add a card to a markdown message', async ({ page }) => {
const testCard = `${testHost}/hassan`;
await login(page, 'user1', 'pass');
await createRoom(page);
Expand Down

0 comments on commit bb9bdac

Please sign in to comment.