Skip to content

Commit 367e0ef

Browse files
riglarclaude
andcommitted
Add dumb cpu1 test with 100 duplicate flows
Creates a workflow that runs 100 identical Wikipedia test flows on cpu1 runners by passing the flows/cpu1-dumb-test/ folder as the workspace. Uses default devices for simplicity. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent be4a2b7 commit 367e0ef

101 files changed

Lines changed: 1132 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Dumb CPU1 Test - 100 Duplicate Flows
2+
3+
on:
4+
# Allow manual triggering
5+
workflow_dispatch:
6+
inputs:
7+
environment:
8+
description: "Environment to run tests against"
9+
type: choice
10+
options:
11+
- prod
12+
- dev
13+
default: "prod"
14+
required: true
15+
16+
jobs:
17+
test-cpu1-duplicate-flows:
18+
name: CPU1 Test - 100 Flows
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- uses: actions/checkout@v3
23+
24+
- name: Run CPU1 Test with 100 Duplicate Flows
25+
uses: devicecloud-dev/device-cloud-for-maestro@main
26+
with:
27+
api-key: ${{ github.event.inputs.environment == 'dev' && secrets.DCD_DEV_API_KEY || secrets.DCD_API_KEY }}
28+
api-url: ${{ github.event.inputs.environment == 'dev' && 'https://api.dev.devicecloud.dev' || '' }}
29+
app-file: ./binaries/sample.apk
30+
workspace: ./flows/cpu1-dumb-test/
31+
runner-type: cpu1
32+
name: "Dumb CPU1 Test - 100 Duplicate Flows"

flows/cpu1-dumb-test/flow-1.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
appId: org.wikipedia
2+
---
3+
- launchApp
4+
- assertVisible: "The Free.*"
5+
- assertVisible: "Skip"
6+
- tapOn: "Skip"
7+
- assertVisible: "Search Wikipedia"
8+
- tapOn: "Search Wikipedia"
9+
- inputText: "Bristol"
10+
- tapOn: "City and county in England"
11+
- assertVisible: ".*Avon.*"

flows/cpu1-dumb-test/flow-10.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
appId: org.wikipedia
2+
---
3+
- launchApp
4+
- assertVisible: "The Free.*"
5+
- assertVisible: "Skip"
6+
- tapOn: "Skip"
7+
- assertVisible: "Search Wikipedia"
8+
- tapOn: "Search Wikipedia"
9+
- inputText: "Bristol"
10+
- tapOn: "City and county in England"
11+
- assertVisible: ".*Avon.*"

flows/cpu1-dumb-test/flow-100.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
appId: org.wikipedia
2+
---
3+
- launchApp
4+
- assertVisible: "The Free.*"
5+
- assertVisible: "Skip"
6+
- tapOn: "Skip"
7+
- assertVisible: "Search Wikipedia"
8+
- tapOn: "Search Wikipedia"
9+
- inputText: "Bristol"
10+
- tapOn: "City and county in England"
11+
- assertVisible: ".*Avon.*"

flows/cpu1-dumb-test/flow-11.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
appId: org.wikipedia
2+
---
3+
- launchApp
4+
- assertVisible: "The Free.*"
5+
- assertVisible: "Skip"
6+
- tapOn: "Skip"
7+
- assertVisible: "Search Wikipedia"
8+
- tapOn: "Search Wikipedia"
9+
- inputText: "Bristol"
10+
- tapOn: "City and county in England"
11+
- assertVisible: ".*Avon.*"

flows/cpu1-dumb-test/flow-12.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
appId: org.wikipedia
2+
---
3+
- launchApp
4+
- assertVisible: "The Free.*"
5+
- assertVisible: "Skip"
6+
- tapOn: "Skip"
7+
- assertVisible: "Search Wikipedia"
8+
- tapOn: "Search Wikipedia"
9+
- inputText: "Bristol"
10+
- tapOn: "City and county in England"
11+
- assertVisible: ".*Avon.*"

flows/cpu1-dumb-test/flow-13.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
appId: org.wikipedia
2+
---
3+
- launchApp
4+
- assertVisible: "The Free.*"
5+
- assertVisible: "Skip"
6+
- tapOn: "Skip"
7+
- assertVisible: "Search Wikipedia"
8+
- tapOn: "Search Wikipedia"
9+
- inputText: "Bristol"
10+
- tapOn: "City and county in England"
11+
- assertVisible: ".*Avon.*"

flows/cpu1-dumb-test/flow-14.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
appId: org.wikipedia
2+
---
3+
- launchApp
4+
- assertVisible: "The Free.*"
5+
- assertVisible: "Skip"
6+
- tapOn: "Skip"
7+
- assertVisible: "Search Wikipedia"
8+
- tapOn: "Search Wikipedia"
9+
- inputText: "Bristol"
10+
- tapOn: "City and county in England"
11+
- assertVisible: ".*Avon.*"

flows/cpu1-dumb-test/flow-15.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
appId: org.wikipedia
2+
---
3+
- launchApp
4+
- assertVisible: "The Free.*"
5+
- assertVisible: "Skip"
6+
- tapOn: "Skip"
7+
- assertVisible: "Search Wikipedia"
8+
- tapOn: "Search Wikipedia"
9+
- inputText: "Bristol"
10+
- tapOn: "City and county in England"
11+
- assertVisible: ".*Avon.*"

flows/cpu1-dumb-test/flow-16.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
appId: org.wikipedia
2+
---
3+
- launchApp
4+
- assertVisible: "The Free.*"
5+
- assertVisible: "Skip"
6+
- tapOn: "Skip"
7+
- assertVisible: "Search Wikipedia"
8+
- tapOn: "Search Wikipedia"
9+
- inputText: "Bristol"
10+
- tapOn: "City and county in England"
11+
- assertVisible: ".*Avon.*"

0 commit comments

Comments
 (0)