Skip to content

Commit

Permalink
Merge pull request #35 from codeceptjs/fix-some-improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent authored Feb 18, 2024
2 parents d20b0a8 + 56be029 commit b5759a7
Show file tree
Hide file tree
Showing 87 changed files with 2,093 additions and 5 deletions.
Binary file removed .DS_Store
Binary file not shown.
14 changes: 13 additions & 1 deletion .github/workflows/e2e-android.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
# .github/workflows/e2e-android.yml
name: e2e-android
on: push

on:
push:
branches:
- main
- master
pull_request:
branches:
- '**'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
e2e-android:
Expand Down
48 changes: 48 additions & 0 deletions .github/workflows/e2e-ios.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: e2e-ios

on:
push:
branches:
- main
- master
pull_request:
branches:
- '**'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
e2e-ios:
runs-on: macos-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'

- name: Install Yarn dependencies
run: yarn --frozen-lockfile --prefer-offline

- name: Install macOS dependencies
run: |
brew tap wix/brew
brew install applesimutils
env:
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_NO_INSTALL_CLEANUP: 1

- name: Detox test
run: cd test && npm i --force && CONF="ios.sim.release" npx codeceptjs run --verbose

- name: Upload artifacts
if: failure()
uses: actions/upload-artifact@v3
with:
name: detox-artifacts
path: artifacts
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,7 @@ test/android/app/build/generated
test/android/app/build/intermediates

test/vendor

test/android/.idea
test/ios/.DS_Store
.DS_Store
4 changes: 2 additions & 2 deletions test/Detox_Acceptance_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Feature('Acceptance Tests');

Before(() => {
I.launchApp();
I.wait(15);
I.waitForElementVisible('#hello_button', 15);
})

Scenario('App started', () => {
Expand All @@ -12,7 +12,7 @@ Scenario('App started', () => {

Scenario('Get platform', async () => {
const platform = await I.grabPlatform();
I.expectEqual(platform, 'android');
process.env.CONF && process.env.CONF.includes('ios') ? I.expectEqual(platform, 'ios') : I.expectEqual(platform, 'android');
})

Scenario('Show hello screen after tap', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/codecept.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const config = {
helpers: {
Detox: {
require: '../Detox.js',
configuration: 'android.emu.release',
configuration: process.env.CONF || 'android.emu.release',
reuse: true,
},
Expect: {}
Expand Down
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions test/ios/build/Build/Products/example.app/PkgInfo
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
APPL????
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// @generated SignedSource<<6c4053ad9f2da7cd9f9d1bc0789bd1e5>>

Binary file not shown.
Loading

0 comments on commit b5759a7

Please sign in to comment.