Skip to content

UI Tests

UI Tests #97

Workflow file for this run

name: UI Tests
on:
workflow_run:
workflows: ["Unit Tests"]
types:
- completed
env:
DEVELOPER_DIR: /Applications/Xcode_14.2.app/Contents/Developer
NSUnbufferedIO: YES
jobs:
UITest-EmbeddedAuth:
name: Embedded Auth (iOS)
runs-on: macos-12
timeout-minutes: 10
if: ${{ github.event.workflow_run.conclusion == 'success' && secrets.TEST_OKTA_PLIST && secrets.TEST_CONFIGURATION }}

Check failure on line 18 in .github/workflows/uitests.yaml

View workflow run for this annotation

GitHub Actions / UI Tests

Invalid workflow file

The workflow is not valid. .github/workflows/uitests.yaml (Line: 18, Col: 9): Unrecognized named-value: 'secrets'. Located at position 54 within expression: github.event.workflow_run.conclusion == 'success' && secrets.TEST_OKTA_PLIST && secrets.TEST_CONFIGURATION
steps:
- uses: actions/checkout@master
- uses: ./.github/actions/setup-secrets
with:
okta_plist: "${{ secrets.TEST_OKTA_PLIST }}"
test_configuration: "${{ secrets.TEST_CONFIGURATION }}"
- name: Test Embedded Auth
run: |
xcodebuild \
-derivedDataPath ~/Build/DerivedData \
-clonedSourcePackagesDirPath ~/Build/ClonedSources \
-workspace OktaIdx.xcworkspace \
-scheme "EmbeddedAuth" \
-sdk iphonesimulator \
-destination 'platform=iOS Simulator,name=iPhone 12,OS=15.4' \
test