Skip to content

Commit

Permalink
Mantine7 (#864)
Browse files Browse the repository at this point in the history
* migrate to mantine 7

* add test menu item and fix cypress test

* dist files and linting

* add new yarn.lock

* Update versions

* Update backend versions

---------

Co-authored-by: Michael Puehringer <michael.puehringer@datavisyn.io>
  • Loading branch information
dvdanielamoitzi and puehringer authored Jan 24, 2024

Verified

This commit was signed with the committer’s verified signature.
GCdePaula Gabriel Coutinho de Paula
1 parent c78d08d commit 33f2dcb
Showing 148 changed files with 424 additions and 24,392 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ node_modules/
/tests/**/*.map
*.css
/package-lock.json
!yarn.lock
/yarn.lock

# yarn
.pnp.*
2 changes: 1 addition & 1 deletion cypress/component/component-health-check.cy.tsx
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ import '../../src/phovea_registry';
describe('Health check for Cypress component test', () => {
it('should mount MainApp', () => {
cy.mount(
<VisynAppProvider appName="Demo App">
<VisynAppProvider disableMantine6 appName="Demo App">
<MainApp />
</VisynAppProvider>,
);
3 changes: 2 additions & 1 deletion cypress/e2e/health-check.cy.ts
Original file line number Diff line number Diff line change
@@ -9,7 +9,8 @@ describe('Health check for Cypress e2e test', () => {
// Assert the content is now visible
cy.get('body').should('include.text', 'Visualization type');
// Check the user avatar, and then log out again
cy.get('[data-testid="visyn-user-avatar"]').should('include.text', 'A').click().parent().contains('Logout').click();
cy.get('[data-testid="visyn-user-avatar"]').should('include.text', 'A').click();
cy.get('[data-testid="user-menu-item"]').parent().contains('Logout').click();
// Assert the login modal to be shown again
cy.get('[data-testid="visyn-login-modal"]').should('include.text', 'Demo App');
// Assert the content to be invisible again
2 changes: 1 addition & 1 deletion dist/base/LoginMenu.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/base/LoginMenu.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/base/Selection.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Oops, something went wrong.

0 comments on commit 33f2dcb

Please sign in to comment.