Skip to content

Commit

Permalink
ci: adds detox e2e github actions pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
WarleyLopes committed May 14, 2024
1 parent d42db69 commit d55bfb3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ This repository showcases mobile test automation for a React Native project usin

## Detox iOS Demonstration

![Detox iOS Demonstration](./native-app/artifacts/detox-demo.gif)
![Detox iOS Demonstration](./native-app/e2e/test-assets//detox-demo.gif)

## Detox Android Demonstration

![Detox Android Demonstration](./native-app/artifacts/detox_android_demo.gif)
![Detox Android Demonstration](./native-app/e2e/test-assets/detox_android_demo.gif)

## Table of Contents

Expand Down
4 changes: 2 additions & 2 deletions native-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ This repository showcases mobile test automation for a React Native project usin

## Detox iOS Demonstration

![Detox iOS Demonstration](./artifacts/detox-demo.gif)
![Detox iOS Demonstration](./e2e/test-assets//detox-demo.gif)

## Detox Android Demonstration

![Detox Android Demonstration](./artifacts/detox_android_demo.gif)
![Detox Android Demonstration](./e2e/test-assets//detox_android_demo.gif)

## Table of Contents

Expand Down
File renamed without changes
5 changes: 1 addition & 4 deletions native-app/e2e/test-assets/screens/logPartTab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ export class LOG_PART_TAB {
static async setPartValue(partValue: string): Promise<void> {
await waitFor(this.PART_VALUE_INPUT_ELEMENT_BY_ID).toBeVisible();
await this.PART_VALUE_INPUT_ELEMENT_BY_ID.replaceText(partValue + '\n');
if (RUNNING_IOS) {
await element(by.text('Log Part')).atIndex(0).tap();
}
}

static async savePart(): Promise<void> {
Expand All @@ -75,9 +72,9 @@ export class LOG_PART_TAB {
partName: string,
partValue: string
): Promise<void> {
await this.setPartValue(partValue);
await this.setMachineName(machineName);
await this.setPartName(partName);
await this.setPartValue(partValue);
await this.savePart();
}

Expand Down

0 comments on commit d55bfb3

Please sign in to comment.