Skip to content

Commit

Permalink
ci: update to the pipeline workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
WarleyLopes committed May 14, 2024
1 parent d914728 commit 4c1e8f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
native-app/node_modules
backend/node_modules
native-app/ios/build
key: ${{ runner.os }}-dependencies-${{ hashFiles('native-app/yarn.lock') }}-${{ hashFiles('backend/yarn.lock') }}-${{ hashFiles('native-app/ios/Podfile.lock') }}
key: ${{ runner.os }}-dependencies-${{ hashFiles('native-app/yarn.lock') }}-${{ hashFiles('backend/yarn.lock') }}
restore-keys: |
${{ runner.os }}-dependencies
Expand Down
13 changes: 2 additions & 11 deletions native-app/e2e/test-assets/utils/Setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,11 @@ beforeAll(async () => {
});

// eslint-disable-next-line no-undef
beforeEach(async () => {
afterEach(async () => {
await device.reloadReactNative();
if (!(await elementIsVisible(MACHINE_STATE_TAB.PLEASE_LOG_PART_ELEMENT_BY_ID))) {
await waitFor(
MACHINE_STATE_TAB.RESET_MACHINE_DATA_ELEMENT_BY_TEXT
).toBeVisible();
}
});

// eslint-disable-next-line no-undef
afterEach(async () => {
await device.reloadReactNative();
});

// eslint-disable-next-line no-undef
afterAll(async () => {
await device.terminateApp();
});

0 comments on commit 4c1e8f2

Please sign in to comment.