|
48 | 48 |
|
49 | 49 | ----------
|
50 | 50 |
|
51 |
| -### Step 5. Congratulations! You now know how to create and run browser tests with GitHub Actions/Workflows! |
| 51 | +### Congratulations! You now know how to create and run browser tests with GitHub Actions/Workflows! |
52 | 52 |
|
53 | 53 | ### **Study [SeleniumBase](https://github.com/seleniumbase/SeleniumBase) to learn more!**
|
54 | 54 |
|
| 55 | +---------- |
| 56 | +---------- |
| 57 | + |
| 58 | +### **Integrations for GitHub Actions:** |
| 59 | + |
| 60 | +### Slack Notifications - [rtCamp/action-slack-notify](https://github.com/rtCamp/action-slack-notify) can be used to send notifications to Slack. |
55 | 61 |
|
56 |
| -### Slack notifications: |
57 |
| -* the action [rtCamp/action-slack-notify](https://github.com/rtCamp/action-slack-notify) is just one of the many slack notification actions available |
58 |
| -* create a slack integration webhook if you don't have one already |
59 |
| -* create a `SLACK_WEBHOOK` secret on your repository with the webhook token value |
60 |
| -* for this particular action, `SLACK_CHANNEL` is optional environment variable and will default to the webhook token channel if not specified |
61 |
| -* this example shows how you can put a link to your workflow as the `SLACK_MESSAGE` (good to see artifacts pushed up such as from the SeleniumBase presenter feature!) |
| 62 | +**Usage:** |
| 63 | +* Create a slack integration webhook if you don't have one already. |
| 64 | +* Create a ``SLACK_WEBHOOK`` secret on your repository with the webhook token value. |
| 65 | +* For this particular action, ``SLACK_CHANNEL`` is an optional environment variable that defaults to the webhook token channel if not specified. |
| 66 | +* The following example shows how to put a link to your workflow as the ``SLACK_MESSAGE`` (Lets you see artifacts pushed up, such as from the SeleniumBase Presenter feature!): |
62 | 67 | ```
|
63 | 68 | - name: Slack notification
|
64 | 69 | uses: rtCamp/action-slack-notify@master
|
|
70 | 75 | SLACK_MESSAGE: 'Actions workflow completed successful! :tada: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
|
71 | 76 | ```
|
72 | 77 |
|
73 |
| -### Upload a SeleniumBase presentation as an artifact |
74 |
| -* Here is an example how to use [upload-artifact@v2](https://github.com/actions/upload-artifact) to push up a SeleniumBase generated presentation as an artifact. (You can use this in conjunction with the Slack notification to grab and or view the presentation directly from github) |
| 78 | +### Uploading Artifacts: |
| 79 | +* Here's an example using [upload-artifact@v2](https://github.com/actions/upload-artifact) to push up a SeleniumBase-generated presentation as an artifact. (You can use this together with the Slack notification action to view the presentation directly from GitHub) |
75 | 80 | ```
|
76 | 81 | - uses: actions/upload-artifact@v2
|
77 | 82 | with:
|
|
0 commit comments