testronaut 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -43,7 +43,7 @@ import { runMissions } from 'testronaut';
|
|
|
43
43
|
|
|
44
44
|
export const loginMission = `
|
|
45
45
|
Click on the login button.
|
|
46
|
-
Fill in the username and password
|
|
46
|
+
Fill in the username field with ${process.env.USERNAME} and password field with ${process.env.PASSWORD}.
|
|
47
47
|
Submit the form.
|
|
48
48
|
Wait for the dashboard to appear.
|
|
49
49
|
Report SUCCESS if the dashboard is loaded, otherwise report FAILURE.
|
|
@@ -55,6 +55,9 @@ export async function executeMission() {
|
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
```
|
|
58
|
+
|
|
59
|
+
Pass in credentials using an .env file
|
|
60
|
+
|
|
58
61
|
You can chain multiple phases:
|
|
59
62
|
|
|
60
63
|
```
|