Skip to content

Commit

Permalink
Merge branch 'feature/macos-support' into macos-support/update-pod-de…
Browse files Browse the repository at this point in the history
…pendencies
  • Loading branch information
Widcket authored Nov 30, 2023
2 parents 2564d86 + 2331e69 commit 33821a4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
staged_files=($(git diff --staged --name-only --diff-filter=ACDRT -- auth0_flutter/darwin))
staged_files=($(git diff --staged --name-only --diff-filter=ACDMRT -- auth0_flutter/darwin))

# Only proceed if there are staged files from the 'darwin' directory
if [ ${#staged_files[@]} -eq 0 ]; then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-symlinks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: |
scripts/generate-symlinks.sh
if git diff HEAD --quiet --diff-filter=ACDRT; then
if git diff HEAD --quiet --diff-filter=ACDMRT; then
echo $'\nNo changes detected in the iOS/macOS files that require updating the symlinks.'
echo 'All good.'
else
Expand Down
4 changes: 3 additions & 1 deletion auth0_flutter/example/ios/UITests/SmokeTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class SmokeTests: XCTestCase {
private let loginButton = "Web Auth Login"
private let logoutButton = "Web Auth Logout"
private let continueButton = "Continue"
private let timeout: TimeInterval = 10
private let timeout: TimeInterval = 30

override func setUp() {
continueAfterFailure = false
Expand All @@ -19,6 +19,7 @@ class SmokeTests: XCTestCase {
func testLogin() {
let app = XCUIApplication()
app.activate()
XCTAssertTrue(app.wait(for: .runningForeground, timeout: timeout))
tap(button: loginButton)
let emailInput = app.webViews.textFields.firstMatch
XCTAssertTrue(emailInput.waitForExistence(timeout: timeout))
Expand All @@ -33,6 +34,7 @@ class SmokeTests: XCTestCase {
func testLogout() {
let app = XCUIApplication()
app.activate()
XCTAssertTrue(app.wait(for: .runningForeground, timeout: timeout))
tap(button: loginButton)
let sessionButton = app.webViews.staticTexts[email]
XCTAssertTrue(sessionButton.waitForExistence(timeout: timeout))
Expand Down

0 comments on commit 33821a4

Please sign in to comment.