Skip to content

Commit

Permalink
[ACS-8153] delete protractor e2e configuration and files (#3885)
Browse files Browse the repository at this point in the history
* [ACS-8153] delete protractor e2e configuration and files

* [ACS-8153] util fix

* [ACS-8153] pr fix

* [ACS-81532] remove e2e package.json

* [ACS-81532] remove chrome configuration

* package-lock file
  • Loading branch information
akashrathod28 authored Jul 26, 2024
1 parent dfd2326 commit 4e67a8d
Show file tree
Hide file tree
Showing 99 changed files with 131 additions and 6,953 deletions.
1 change: 0 additions & 1 deletion .github/actions/adf-linking/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ runs:
if [[ $COMMIT_MESSAGE == *"[link-adf:"* ]]; then
echo "BUILD_OPTS=--configuration=adf,e2e" >> $GITHUB_ENV
echo "TEST_OPTS=--configuration=adfprod" >> $GITHUB_ENV
echo "E2E_PROTRACTOR_OPTS=--with-local-adf" >> $GITHUB_ENV
echo "E2E_TSCONFIG=tsconfig.e2e.adf.json" >> $GITHUB_ENV
BRANCH=`echo $COMMIT_MESSAGE | grep -o "\[link-adf\:[^]]*\]" | sed -e 's#\[link-adf:##g' | sed -e 's#\]##g'`
Expand Down
21 changes: 0 additions & 21 deletions .github/actions/before-e2e/action.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,9 @@
name: "Before e2e"
description: "Before e2e"

inputs:
e2e-protractor:
description: 'is e2e run with protractor'
required: false
type: boolean
default: false

runs:
using: "composite"
steps:
- name: Check content UP
shell: bash
run: ./node_modules/@alfresco/adf-cli/bin/adf-cli check-cs-env --host $BASE_URL -u $ADMIN_EMAIL -p $ADMIN_PASSWORD || exit 1

- name: Install google chrome v114
shell: bash
run: |
wget -q https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo apt install ./google-chrome-stable_current_amd64.deb
sudo ln -s /usr/bin/google-chrome /usr/bin/chrome
chrome --version
- name: Update webdriver-manager
if: ${{ inputs.e2e-protractor == 'true' }}
shell: bash
run: |
npm run update-webdriver
43 changes: 0 additions & 43 deletions .github/actions/run-e2e/action.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@ runs:
run: |
echo "BUILD_OPTS=--configuration=production,e2e" >> $GITHUB_ENV
echo "TEST_OPTS=" >> $GITHUB_ENV
echo "E2E_PROTRACTOR_OPTS=" >> $GITHUB_ENV
echo "E2E_TSCONFIG=tsconfig.e2e.json" >> $GITHUB_ENV
echo "GIT_HASH=$(git rev-parse HEAD)" >> $GITHUB_ENV
echo "SMART_RUNNER_DIRECTORY=.protractor-smartrunner" >> $GITHUB_ENV
echo "BASE_HASH=.protractor-smartrunner" >> $GITHUB_ENV
echo "HEAD_HASH=HEAD" >> $GITHUB_ENV
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected]
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,6 @@ jobs:

- name: Before e2e
uses: ./.github/actions/before-e2e
with:
e2e-protractor: false

- name: before playwright
shell: bash
Expand Down
26 changes: 0 additions & 26 deletions e2e/protractor/.eslintrc.json

This file was deleted.

10 changes: 0 additions & 10 deletions e2e/protractor/e2e-config/utils/build-number.js

This file was deleted.

69 changes: 0 additions & 69 deletions e2e/protractor/e2e-config/utils/upload-output.js

This file was deleted.

23 changes: 0 additions & 23 deletions e2e/protractor/project.json

This file was deleted.

44 changes: 0 additions & 44 deletions e2e/protractor/protractor.excludes.json

This file was deleted.

Binary file removed e2e/protractor/resources/test-files/file-docx.docx
Binary file not shown.
Binary file removed e2e/protractor/resources/test-files/file-jpg.jpg
Binary file not shown.
Binary file removed e2e/protractor/resources/test-files/file-pdf.pdf
Binary file not shown.
Binary file removed e2e/protractor/resources/test-files/file-xlsx.xlsx
Binary file not shown.
Binary file removed e2e/protractor/resources/test-files/file2-docx.docx
Binary file not shown.
Binary file removed e2e/protractor/resources/test-files/file2-xlsx.xlsx
Binary file not shown.
1 change: 0 additions & 1 deletion e2e/protractor/resources/test-files/file_unsupported.3DS

This file was deleted.

Binary file removed e2e/protractor/resources/test-files/protected.pdf
Binary file not shown.
14 changes: 0 additions & 14 deletions e2e/protractor/smartrunner-factory.js

This file was deleted.

98 changes: 0 additions & 98 deletions e2e/protractor/suites/actions/upload-download/upload-file.test.ts

This file was deleted.

Loading

0 comments on commit 4e67a8d

Please sign in to comment.