Skip to content

Commit

Permalink
log key
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidsector9 committed Dec 21, 2023
1 parent 35e6cc6 commit 97472cd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ jobs:
name: ${{ matrix.core.name }}
runs-on: ubuntu-latest
env:
CYPRESS_MICROSOFT_AZURE_ACCOUNT_NAME: 'yolo-name'
CYPRESS_MICROSOFT_AZURE_ACCOUNT_KEY: 'yolo-key'
CYPRESS_MICROSOFT_AZURE_CONTAINER: 'yolo-container'
CYPRESS_MICROSOFT_AZURE_USE_FOR_DEFAULT_UPLOAD: 'yolo-upload'
CYPRESS_MICROSOFT_AZURE_ACCOUNT_NAME: ${{ secrets.MICROSOFT_AZURE_ACCOUNT_NAME }}
CYPRESS_MICROSOFT_AZURE_ACCOUNT_KEY: ${{ secrets.MICROSOFT_AZURE_ACCOUNT_KEY }}
CYPRESS_MICROSOFT_AZURE_CONTAINER: ${{ secrets.MICROSOFT_AZURE_CONTAINER }}
CYPRESS_MICROSOFT_AZURE_USE_FOR_DEFAULT_UPLOAD: ${{ secrets.MICROSOFT_AZURE_USE_FOR_DEFAULT_UPLOAD }}
CYPRESS_EXAMPLE_KEY: ${{ secrets.EXAMPLE_KEY }}
strategy:
matrix:
core:
Expand Down
5 changes: 2 additions & 3 deletions tests/cypress/e2e/settings.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ describe('Configure admin settings', () => {
});

it( 'Enter settings and save', () => {
cy.log(Cypress.env('MICROSOFT_AZURE_ACCOUNT_NAME'))
cy.log(Cypress.env('MICROSOFT_AZURE_ACCOUNT_KEY'))
cy.log(Cypress.env('MICROSOFT_AZURE_CONTAINER'))
cy.log('1. ' + Cypress.env('EXAMPLE_KEY'))
cy.log('2. ' + Cypress.env('CYPRESS_EXAMPLE_KEY'))
cy.visit('wp-admin/options-general.php?page=windows-azure-storage-plugin-options');
cy.get('input[name="azure_storage_account_name"]').clear().type(Cypress.env('MICROSOFT_AZURE_ACCOUNT_NAME'));
cy.get('input[name="azure_storage_account_primary_access_key"]').clear().type(Cypress.env('MICROSOFT_AZURE_ACCOUNT_KEY'));
Expand Down

0 comments on commit 97472cd

Please sign in to comment.