|
|
@ -97,19 +97,21 @@ jobs: |
|
|
|
condition: |
|
|
|
condition: |
|
|
|
equal: [ "chrome", << parameters.browser >> ] |
|
|
|
equal: [ "chrome", << parameters.browser >> ] |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- browser-tools/install-chrome |
|
|
|
- browser-tools/install-browser-tools: |
|
|
|
- browser-tools/install-chromedriver |
|
|
|
install-firefox: false |
|
|
|
- google-chrome --version |
|
|
|
install-chrome: true |
|
|
|
- chromedriver --version |
|
|
|
- run: google-chrome --version |
|
|
|
- rm LICENSE.chromedriver 2> /dev/null |
|
|
|
- run: chromedriver --version |
|
|
|
|
|
|
|
- run: rm LICENSE.chromedriver 2> /dev/null |
|
|
|
- when: |
|
|
|
- when: |
|
|
|
condition: |
|
|
|
condition: |
|
|
|
equal: [ "firefox", << parameters.browser >> ] |
|
|
|
equal: [ "firefox", << parameters.browser >> ] |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- browser-tools/install-firefox |
|
|
|
- browser-tools/install-browser-tools: |
|
|
|
- browser-tools/install-geckodriver |
|
|
|
install-firefox: true |
|
|
|
- firefox --version |
|
|
|
install-chrome: false |
|
|
|
- geckodriver --version |
|
|
|
- run: firefox --version |
|
|
|
|
|
|
|
- run: geckodriver --version |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- attach_workspace: |
|
|
|
- attach_workspace: |
|
|
|
at: . |
|
|
|
at: . |
|
|
|