[MM-61716][MM-62643] Introduce Modal component, remove bootstrap and react-bootstrap from most modals, update styles (#3317)
* Introduce Modal, add some styles from the webapp * Remove bootstrap from LoadingScreen/WelcomeScreen * Migrate add/edit server modal to Modal, remove bootstrap * Migrate remove server modal to Modal, remove bootstrap * Migrate certificate modal to Modal, remove bootstrap * Migrate login and permission modals to Modal, remove Bootstrap * Misc fixes * E2E tests for current modals * Update src/renderer/components/Modal.tsx Co-authored-by: Daniel Espino García <larkox@gmail.com> * Update src/renderer/components/Modal.tsx Co-authored-by: Daniel Espino García <larkox@gmail.com> * PR feedback --------- Co-authored-by: Daniel Espino García <larkox@gmail.com> Co-authored-by: Mattermost Build <build@mattermost.com>
This commit is contained in:
@@ -73,7 +73,7 @@ describe('RemoveServerModal', function desc() {
|
||||
it('MM-T4390_4 should disappear on click background', async () => {
|
||||
// ignore any target closed error
|
||||
try {
|
||||
await removeServerView.click('.modal', {position: {x: 20, y: 20}});
|
||||
await removeServerView.click('.Modal', {position: {x: 20, y: 20}});
|
||||
} catch {} // eslint-disable-line no-empty
|
||||
await asyncSleep(1000);
|
||||
const existing = Boolean(await this.app.windows().find((window) => window.url().includes('removeServer')));
|
||||
|
Reference in New Issue
Block a user