Browse Source

feat: VRT tag

https://youtrack.weseek.co.jp/issue/GW-7740
- fix insert tag name
I Komang Mudana 4 years ago
parent
commit
dde2aedc7e
1 changed files with 6 additions and 3 deletions
  1. 6 3
      packages/app/test/cypress/integration/7-tag/add-tag.spec.ts

+ 6 - 3
packages/app/test/cypress/integration/7-tag/add-tag.spec.ts

@@ -29,10 +29,13 @@ context('Tag', () => {
     cy.screenshot(`${ssPrefix}click-add-tag`, {capture: 'viewport'});
 
     cy.get('#edit-tag-modal').within(() => {
-      cy.get('.rbt-input-hint-container > input').click({force: true});
-      cy.screenshot('tag input ', {capture: 'viewport'});
+      cy.get('.rbt-input-main').type(tag, {force: true});
+      cy.wait(1500)
+      cy.get('#rbt-menu-item-0 > a').should('be.visible');
+      cy.get('#rbt-menu-item-0 > a').click({force: true});
     });
-
+    cy.wait(1000);
+    cy.screenshot(`${ssPrefix}insert-tag-name`, {capture: 'viewport'});
 
   });