File tree 7 files changed +14
-11
lines changed
7 files changed +14
-11
lines changed Original file line number Diff line number Diff line change 1
1
BUILDLY_VERSION = 0.2.3-rc3
2
2
LOCATION_VERSION = 0.0.15
3
3
PRODUCTS_VERSION = 0.0.30
4
- BUILDLY_UI_VERSION = 0.0.10-st17
4
+ BUILDLY_REACT_TEMPLATE_VERSION = 0.0.10-st17
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ services:
148
148
-----END PUBLIC KEY-----
149
149
SECRET_KEY : " oxcdb=mtcc7q1cym@oox(lyrz1ncz-(w+(#&u7l-&)7a8wvxyz"
150
150
151
- buildly-react-template :
151
+ buildly-react-template :
152
152
container_name : buildly-react-template
153
153
image : buildly/buildly-react-template
154
154
ports :
Original file line number Diff line number Diff line change @@ -3,11 +3,12 @@ Library SeleniumLibrary
3
3
Library String
4
4
Library RequestsLibrary
5
5
Library Collections
6
+ Library BuiltIn
6
7
7
8
*** Keywords ***
8
9
##### AUTHENTIFICATION #####
9
- browser is opened to Buildly-UI URL
10
- Go To ${BUILDLY_UI_BASE_URL }
10
+ browser is opened to Buildly-React-Template URL
11
+ Go To ${BUILDLY_REACT_TEMPLATE_BASE_URL }
11
12
${status } = Run Keyword And Ignore Error Wait Until Page Contains Login 10
12
13
Log ${status }
13
14
Run Keyword If 'FAIL' in '''${status } ''' Reload Page
@@ -28,11 +29,14 @@ a new user is registered
28
29
Input Text //input[@placeholder='Enter last name'] Robot
29
30
Click Button Register
30
31
31
- the user can login
32
- Go To ${BUILDLY_UI_BASE_URL }
32
+ the user can login
33
+ Go To ${BUILDLY_REACT_TEMPLATE_BASE_URL }
33
34
Wait Until Page Contains Login 10
34
35
Location Should Contain login
35
36
Input Text //input[@placeholder='Enter username'] ${NEW_USER_NAME }
36
37
Input Text //input[@placeholder='Enter password'] ${NEW_USER_PASSWORD }
37
38
Click Button Login
38
39
Wait Until Page Contains My App 10
40
+
41
+
42
+
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ Documentation Application Login
9
9
10
10
*** Test Cases ***
11
11
Register new user
12
- GIVEN browser is opened to Buildly-React-Template url
12
+ GIVEN browser is opened to Buildly-React-Template url
13
13
WHEN a new user is registered
14
- THEN the user can login
14
+ THEN the user can login
15
15
16
16
File renamed without changes.
Original file line number Diff line number Diff line change @@ -71,11 +71,11 @@ Set environment to
71
71
Set Global Variable ${REGULAR_USER_PASSWORD } ${REGULAR_USER_PASSWORD_${env } }
72
72
Set Global Variable ${API_USER_USERNAME } ${API_USER_USERNAME_${env } }
73
73
Set Global Variable ${API_USER_PASSWORD } ${API_USER_PASSWORD_${env } }
74
- Set Global Variable ${BUILDLY_REACT_TEMPLATE_BASE_URL } ${BUILDLY_REACT_TEMPLATE_BASE_URL_${env } }
74
+ Set Global Variable ${BUILDLY_REACT_TEMPLATE_BASE_URL } ${BUILDLY_REACT_TEMPLATE_BASE_URL_${env } }
75
75
Set Global Variable ${BUILDLY_BASE_URL } ${BUILDLY_BASE_URL_${env } }
76
76
Set Global Variable ${PRODUCT_API_BASE_URL } ${PRODUCT_API_BASE_URL_${env } }
77
77
Set Global Variable ${LOCATION_API_BASE_URL } ${LOCATION_API_BASE_URL_${env } }
78
78
79
79
Generate Random Name
80
- ${name } = Generate Random String 8 [LOWER]
80
+ ${name } = Generate Random String 8 [LOWER]
81
81
[RETURN] ${name }
Original file line number Diff line number Diff line change @@ -22,4 +22,3 @@ ${BUILDLY_REACT_TEMPLATE_BASE_URL_docker} http://buildly-react-templa
22
22
${BUILDLY_BASE_URL_docker } http://buildly:8080
23
23
${PRODUCT_API_BASE_URL_docker } ${BUILDLY_BASE_URL_docker } /products
24
24
${LOCATION_API_BASE_URL_docker } ${BUILDLY_BASE_URL_docker } /locations
25
-
You can’t perform that action at this time.
0 commit comments