guoqqqi commented on pull request #1679:
URL: https://github.com/apache/apisix-dashboard/pull/1679#issuecomment-811165316
Hi, @qian0817 You can solve this problem like this:
```
it('sample', function () {
cy.visit('/');
cy.contains(menuLocaleUS['menu.routes']).click();
const currentToken = localStorage.getItem('token');
cy.contains(routeLocaleUS['page.route.onlineDebug']).click();
cy.get(domSelector.debugDraw).should('be.visible');
cy.get(domSelector.headerTab).should('be.visible').click();
cy.get(domSelector.headerDataKey0).click({ force: true });
cy.get('.ant-select-item-option-content').contains('Accept').click();
cy.get(domSelector.headerDataValue0).type(currentToken);
});
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]