Skip to content

Commit

Permalink
Merge branch 'develop' into enhancement/removing-extension-card-spinner
Browse files Browse the repository at this point in the history
  • Loading branch information
rishirishhh authored Oct 15, 2024
2 parents c05cdfd + fa3eb23 commit adc1fdf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,18 @@ on:
branches: [main, develop]
push:
branches: [main, develop]

jobs:
Lint-Check:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: yarn
- run: yarn test
- uses: actions/checkout@v2

- name: Install system dependencies
run: |
echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
- name: Install project dependencies
run: yarn install

- name: Run tests
run: yarn test
3 changes: 1 addition & 2 deletions __tests__/extension-requests/extension-requests.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -633,10 +633,9 @@ describe('Tests the Extension Requests Screen', () => {
break;
}
}
await page.waitForTimeout(1650);
await page.waitForTimeout(2000);

const extensionCardsAfter = await page.$$('.extension-card');

const cardCount = extensionCardsAfter.length;
expect(cardCount === 3 || cardCount === 7).toBe(true);
});
Expand Down

0 comments on commit adc1fdf

Please sign in to comment.