chore: Updating validateLicense function call in cypress (#28448)

## Description

Updating validateLicense function call in cypress

#### PR fixes following issue(s)
Fixes # (issue number)

#### Type of change
- Chore (housekeeping or task changes that don't impact user perception)

## Testing

#### How Has This Been Tested?
- [x] Manual
- [ ] JUnit
- [ ] Jest
- [x] Cypress

## Checklist:
#### Dev activity
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed
This commit is contained in:
Ankita Kinger 2023-10-29 03:25:06 +05:30 committed by GitHub
parent 3eb67a7de6
commit 757384546b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 11 deletions

View File

@ -119,6 +119,10 @@ before(function () {
} else if (url.indexOf("user/login") > -1) {
//Cypress.Cookies.preserveOnce("SESSION", "remember_token");
cy.LoginFromAPI(username, password);
cy.wait(3000);
}
});
if (CURRENT_REPO === REPO.EE) {
cy.wait(2000);
cy.url().then((url) => {
@ -127,9 +131,6 @@ before(function () {
}
});
}
cy.wait(3000);
}
});
if (!Cypress.currentTest.titlePath[0].includes(WALKTHROUGH_TEST_PAGE)) {
// Adding key FEATURE_WALKTHROUGH (which is used to check if the walkthrough is already shown to the user or not) for non walkthrough cypress tests (to not show walkthrough)

View File

@ -57,7 +57,6 @@ export const MembersWrapper = styled.div<{
table-layout: fixed;
thead {
z-index: 1;
tr {
border-bottom: 1px solid var(--ads-v2-color-border);
th {

View File

@ -9,8 +9,7 @@ export const RelativeContainer = styled.div`
`;
export const StyledEntity = styled(Entity)<{ entitySize?: number }>`
&.pages > div:not(.t--entity-item) > div > div,
&.query-modules > div:not(.t--entity-item) > div > div {
&.pages > div:not(.t--entity-item) > div > div {
max-height: 40vh;
min-height: ${({ entitySize }) =>
entitySize && entitySize > MIN_PAGES_HEIGHT