File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
samples/swiftui/FirebaseSwiftUIExample/FirebaseSwiftUIExampleUITests Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,27 @@ final class FirebaseSwiftUIExampleUITests: XCTestCase {
6161 appleButton. waitForExistence ( timeout: 5 ) ,
6262 " Apple sign-in button should exist "
6363 )
64+
65+ // Check for Github sign-in button
66+ let githubButton = app. buttons [ " sign-in-with-github.com-button " ]
67+ XCTAssertTrue (
68+ githubButton. waitForExistence ( timeout: 5 ) ,
69+ " Github sign-in button should exist "
70+ )
71+
72+ // Check for Microsoft sign-in button
73+ let microsoftButton = app. buttons [ " sign-in-with-microsoft.com-button " ]
74+ XCTAssertTrue (
75+ microsoftButton. waitForExistence ( timeout: 5 ) ,
76+ " Microsoft sign-in button should exist "
77+ )
78+
79+ // Check for Yahoo sign-in button
80+ let yahooButton = app. buttons [ " sign-in-with-yahoo.com-button " ]
81+ XCTAssertTrue (
82+ yahooButton. waitForExistence ( timeout: 5 ) ,
83+ " Yahoo sign-in button should exist "
84+ )
6485
6586 // Check for Google sign-in button
6687 let googleButton = app. buttons [ " sign-in-with-google-button " ]
You can’t perform that action at this time.
0 commit comments