Skip to content

Commit 3082506

Browse files
committed
Update the Google Cloud Platform instructions
1 parent c77a955 commit 3082506

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

integrations/google_cloud/ReadMe.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
### Building a browser-based test automation server on the [Google Cloud Platform](https://cloud.google.com/) by using [SeleniumBase](https://github.com/seleniumbase/SeleniumBase)
22

3-
(This tutorial, [from a previous Google Cloud Meetup](https://www.meetup.com/Boston-Google-Cloud-Meetup/events/230839686/?showDescription=true), will teach you how to setup a Linux server for running automated browser tests. The cost of running this server is about [$13.61/month on Google Cloud](https://console.cloud.google.com/launcher/details/bitnami-launchpad/jenkins) (enough to handle **5 parallel tests**). This is less expensive than using competitors such as [BrowserStack](https://www.browserstack.com/pricing) or [Sauce Labs](https://saucelabs.com/pricing).)
3+
(This tutorial, [from a previous Google Cloud Meetup](https://www.meetup.com/Boston-Google-Cloud-Meetup/events/230839686/?showDescription=true), will teach you how to setup a Linux server for running automated browser tests. The cost of running this server is about [$13.61/month on Google Cloud](https://console.cloud.google.com/launcher/details/bitnami-launchpad/jenkins) (enough to handle **5 parallel tests**). This is less expensive than using other platforms such as [BrowserStack](https://www.browserstack.com/pricing) or [Sauce Labs](https://saucelabs.com/pricing).)
4+
5+
[Here's a quick video recap on YouTube:](https://www.youtube.com/watch?v=n-sno20R9P0)
6+
7+
[<img src="https://seleniumbase.io/other/gcp_video_thumb.png" title="SeleniumBase on Google Cloud Platform" width="304">](https://www.youtube.com/watch?v=n-sno20R9P0)
48

59
#### Step 1. Open the Google Cloud Platform Cloud Launcher
610

@@ -73,24 +77,24 @@ cd /SeleniumBase
7377
sudo pip install -r requirements.txt --upgrade
7478
```
7579

76-
#### Step 12. Install SeleniumBase (Make sure you already installed the requirements above)
80+
#### Step 12. Install SeleniumBase
7781

7882
```bash
7983
sudo python setup.py develop
8084
```
8185

82-
#### Step 13. Run an [example test](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py) in Chrome to verify installation (May take up to 10 seconds)
86+
#### Step 13. Run an [example test](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py) on Chrome to verify installation (May take up to 10 seconds)
8387

8488
![](https://cdn2.hubspot.net/hubfs/100006/images/gcp_bitnami.png "Linux SSH Terminal")
8589

8690
```bash
87-
pytest examples/my_first_test.py --headless --browser=chrome
91+
pytest examples/my_first_test.py --headless
8892
```
8993

9094
#### Step 14. If you like nosetests better than pytest, that works too
9195

9296
```bash
93-
nosetests examples/my_first_test.py --headless --browser=chrome
97+
nosetests examples/my_first_test.py --headless
9498
```
9599

96100
#### Step 15. You can also verify that the example test runs on Firefox
@@ -119,7 +123,7 @@ nosetests examples/my_first_test.py --headless --browser=firefox
119123
* Under "Build", click the "Add build step" dropdown and then select "Execute shell".
120124
* For the "Command", put:
121125
```bash
122-
pytest examples/my_first_test.py --headless --browser=chrome
126+
pytest examples/my_first_test.py --headless
123127
```
124128
* Click "Save" when you're done.
125129

@@ -179,7 +183,7 @@ If you have a web application that you want to test, you'll be able to create Se
179183
* For the "Execute shell", use the following as your updated "Command":
180184

181185
```bash
182-
pytest examples/test_suite.py --headless --browser=chrome --with-db_reporting
186+
pytest examples/test_suite.py --headless --with-db_reporting
183187
```
184188

185189
* Click "Save" when you're done.
@@ -189,4 +193,4 @@ pytest examples/test_suite.py --headless --browser=chrome --with-db_reporting
189193
* Click on "Build Now"
190194
* If all goes well, you should be seeing new rows appear in your MySQL DB tables.
191195

192-
#### Step 30. Congratulations! If you made it this far, you're awesome!
196+
#### Step 30. Congratulations! You've successfully completed this tutorial!

0 commit comments

Comments
 (0)