Skip to content

Commit d6ab2c9

Browse files
committed
Update integrations
1 parent c0aadb9 commit d6ab2c9

File tree

4 files changed

+67
-50
lines changed

4 files changed

+67
-50
lines changed

Diff for: integrations/node_js/ReadMe.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ You can create a customized web app for running SeleniumBase tests by using Node
1919
npm install -g npm@latest
2020
```
2121

22-
#### 3. Install the Example Test Runner for SeleniumBase from the [integrations/node_js](https://github.com/seleniumbase/SeleniumBase/tree/master/integrations/node_js) folder (``npm ci`` has a speed improvement over ``npm install`` because it uses the ``npm-shrinkwrap.json`` file that's generated via ``npm shrinkwrap``.)
22+
#### 3. Install the example Test Runner for SeleniumBase from [integrations/node_js](https://github.com/seleniumbase/SeleniumBase/tree/master/integrations/node_js). (If dependencies were already installed, you can use `npm ci` for a speed improvement over `npm i` / `npm install` because `npm ci` uses `npm-shrinkwrap.json`, which is generated via ``npm shrinkwrap``.)
2323

2424
```bash
25-
npm ci
25+
npm install
2626
```
2727

28-
(You should see a ``node_modules`` folder appear in your ``node_js`` folder.)
28+
(You should see a `node_modules` folder appear in your `node_js` folder.)
2929

3030
#### 4. Run the NodeJS server for your SeleniumBase Test Runner web app
3131

Diff for: integrations/node_js/index.html

+11-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
<html>
22
<head>
3-
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.6.0/css/bootstrap.min.css" crossorigin="anonymous">
3+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/5.3.3/css/bootstrap.min.css" crossorigin="anonymous">
44
<style>
5-
body {font-family: Arial, Helvetica, sans-serif;}
6-
h1 {color:#3366CC; font-size: 32px;}
7-
input {color:#009999; font-size: 24px;
8-
box-shadow: 0 0 5px teal;}
5+
body {
6+
font-family: Arial, Helvetica, sans-serif;
7+
margin: 12px; padding: 12px;
8+
}
9+
h1 {color:#3366CC; font-size: 36px;}
10+
input {
11+
color:#009999; font-size: 28px;
12+
box-shadow: 0 0 6px teal; margin: 2px;
13+
padding-left: 6px; padding-right: 6px;
14+
}
915
</style>
1016
</head>
1117
<body>

Diff for: integrations/node_js/npm-shrinkwrap.json

+52-41
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: integrations/node_js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"start": "node ./bin/www"
77
},
88
"dependencies": {
9-
"express": "~4.19.2"
9+
"express": "~4.21.0"
1010
}
1111
}

0 commit comments

Comments
 (0)