-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathTestConstants.swift
executable file
·52 lines (47 loc) · 2.13 KB
/
TestConstants.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import Foundation
// Textfields
let signInUserNameTextFieldKey = "signinusernametextfield"
let signInPasswordTextFieldKey = "signinpasswordtextfield"
let channelNameTextFieldKey = "channelnametextfield"
let regionTextFieldKey = "regiontextfield"
let clientIdTextFieldKey = "clientidtextfield"
let signUpUserNameTextFieldKey = "signupusernametextfield"
let signUpPasswordTextFieldKey = "signuppasswordtextfield"
let signUpPhoneNumberTextFieldKey = "signuphonenumbertextfield"
let signUpEmailTextFieldKey = "signupemailtextfield"
let forgotPasswordUsernameTextFieldKey = "forgotpasswordusernametextfield"
let confirmForgotPasswordCodeConfirmationTextFieldKey = "confirmforgotpasswordconfirmationcodetextfield"
let confirmForgotPasswordNewPasswordTextFieldKey = "confirmforgotpasswordnewpasswordtextfield"
// Buttons
let signInButtonKey = "signinbutton"
let connectAsMasterButtonKey = "connectasmasterbutton"
let connectAsViewerButtonKey = "connectasviewerbutton"
let videoBackButtonKey = "videobackbutton"
let signUpButton = "signupbutton"
let signInForgotPasswordButton = "signinforgotpasswordbutton"
let signUpConfirmButton = "signupconfirmbutton"
let forgotPasswordViewForgotPasswordButton = "forgotpasswordviewforgotpasswordbutton"
let confirmForgotPasswordUpdatePasswordButton = "confirmforgotpasswordupdatepasswordbutton"
// Test Variables
// Please make sure that there is a valid testUsername & testPassword (or) modify the testusername & testpassword as required to run the tests.
let testUsername = "testusername"
let testPassword = "testpassword123"
let testChannelName = "test-channel"
let emptyChannelName = ""
let testRegionName = "us-west-2"
let invalidRegionName = "us-west-3"
let emptyRegionName = ""
let testClientId = "test-client-id"
let testRecipientClientId = "recipient_client_id"
let testsdp = "testSdp"
let testMessagePayload = "message_payload"
let testSenderClientId = "sender_client_id"
let offerAction = "SDP_OFFER"
let answerAction = "SDP_ANSWER"
let iceCandidateAction = "ICE_CANDIDATE"
// Other Constants
let testToolbarKey = "Toolbar"
let signOutButtonKey = "Sign out"
let returnButtonKey = "Return"
let OKButtonKey = "OK"
let BackButtonKey = "Back"