Skip to content

Commit

Permalink
Merge branch 'main' into remove-ux-editor-dependencies-in-shared
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasEng authored Feb 1, 2024
2 parents 067eeae + 70666ae commit c00b156
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 77 deletions.
69 changes: 0 additions & 69 deletions frontend/testing/cypress/src/integration/studio/new-app.js

This file was deleted.

1 change: 0 additions & 1 deletion frontend/testing/cypress/src/selectors/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const getSearchResults = () => getSearchResultsHeader().next();

export const dashboard = {
getAppOwnerField: () => cy.findByLabelText(texts['general.service_owner']),
getCancelLink: () => cy.findByRole('link', { name: texts['general.cancel'] }),
getCreateAppButton: () =>
cy.findByRole('button', { name: texts['dashboard.create_service_btn'] }),
getLinksCellForSearchResultApp: (name) => getLinksCellForApp(getSearchResults(), name),
Expand Down
8 changes: 1 addition & 7 deletions frontend/testing/cypress/src/selectors/gitea.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
const getDeleteRepositoryModal = () => cy.get('#delete-repo-modal');

export const gitea = {
getAltinnLogo: () => cy.findByAltText(/altinn(|-| )logo/i),
getDeleteButton: () => cy.findByRole('button', { name: /delete this repository/i }),
getDeleteRepositoryModal,
getDeleteRepositoryNameField: () => cy.get('#delete-repo-modal #repo_name_to_delete'),
getLoginButton: () => cy.findByRole('button', { name: /logg inn/i }),
getLanguageMenu: () => cy.findByRole('menu'),
getLanguageMenuItem: (language) => cy.findByRole('menuitem', { name: language }),
getLoginButton: () => cy.findByRole('button', { name: /logg inn/i }),
getLoginErrorMessage: () => cy.findByText(/ugyldig brukernavn eller passord./i),
getPasswordField: () => cy.findByLabelText(/passord/i),
getRepositoryHeader: () => cy.findByRole('heading', { level: 1 }),
getUsernameField: () => cy.findByLabelText(/brukernavn eller epost/i),
Expand Down

0 comments on commit c00b156

Please sign in to comment.