File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 83
83
- uses : actions/checkout@v3
84
84
with :
85
85
lfs : true
86
+ - name : Create temporary keychain
87
+ if : ${{ matrix.targetPlatform == 'StandaloneOSX' }}
88
+ run : |
89
+ security list-keychains
90
+ security delete-keychain temporary || true
91
+ security list-keychains
92
+ security create-keychain -p "" temporary
93
+ security default-keychain -s temporary
94
+ security unlock-keychain -p "" temporary
95
+ security set-keychain-settings -lut 600 temporary
86
96
- uses : actions/download-artifact@v4
87
97
with :
88
98
name : Build-${{ matrix.targetPlatform }}
@@ -114,6 +124,13 @@ jobs:
114
124
BROWSERSTACK_ACCESS_KEY : ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
115
125
working-directory : sample/Tests
116
126
run : ${{ matrix.test_script }}
127
+ - name : Remove temporary keychain
128
+ if : ${{ matrix.targetPlatform == 'StandaloneOSX' }}
129
+ run : |
130
+ security list-keychains
131
+ security default-keychain -s ~/Library/Keychains/login.keychain-db
132
+ security delete-keychain temporary
133
+ security list-keychains
117
134
# test-ios:
118
135
# name: Run iOS UI tests 🧪
119
136
# runs-on: [ self-hosted, macOS ]
Original file line number Diff line number Diff line change @@ -49,13 +49,11 @@ def test_1_passport_functions(self):
49
49
# Get access token
50
50
self .altdriver .find_object (By .NAME , "GetAccessTokenBtn" ).tap ()
51
51
text = output .get_text ()
52
- print (f"GetAccessTokenBtn output: { text } " )
53
52
self .assertTrue (len (text ) > 50 )
54
53
55
54
# Get ID token
56
55
self .altdriver .find_object (By .NAME , "GetIdTokenBtn" ).tap ()
57
56
text = output .get_text ()
58
- print (f"GetIdTokenBtn output: { text } " )
59
57
self .assertTrue (len (text ) > 50 )
60
58
61
59
# Get email
You can’t perform that action at this time.
0 commit comments