Skip to content

Feature/team ui#119

Merged
turso merged 13 commits intodevelopfrom
feature/team-ui
Oct 21, 2020
Merged

Feature/team ui#119
turso merged 13 commits intodevelopfrom
feature/team-ui

Conversation

@turso
Copy link
Contributor

@turso turso commented Oct 15, 2020

  • Queryparams now are flushed when moving away from series view
  • Complete basic layout shift so elements can vertically pass the whole field
  • All elements are more in the field of view of the user
  • Team card layout to match Figma sketches
  • Moved files to right places with right names
  • 1024 px breakpoint to all major layouts


FOR ${header} IN @{series_names}
Click Element //h3[.="${header}"]/ancestor-or-self::div[2]/div[2]/div[1]
Click Element //h4[.="${header}"]/ancestor-or-self::section[2]/div[2]/div[1]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ehmm, this selector is not a good idea, we could have a chat about these together.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will change these to function like so
-> The cards will have dynamic ids for different parts based on the unique series name, such as ci_frontend_latest
-> We can then use unique series name as a locator with a the id

Currently What the locator does is it finds the correct header element based on content and then moves one container up from the element after which the element is then found.

Wait Until Element is Enabled ${series_list}
FOR ${header} IN @{series_names}
Click Element //h3[.="${header}"]/ancestor-or-self::div[2]/div[2]/div[2]
Click Element //h4[.="${header}"]/ancestor-or-self::section[2]/div[2]/div[2]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same goes here.


FOR ${header} IN @{series_names}
Click Element //h3[.="${header}"]/ancestor-or-self::div[2]/div[2]/div[1]
Click Element //h4[.="${header}"]/ancestor-or-self::section[1]/div[1]/div[1]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can surely get a better locator for this element. Let's discuss this together.

#This long identifier points to the header part of the component that matches the header text
FOR ${header} IN @{team_names}
Click Element //*[@id="team"]/div/div[*]/h3[contains(text(),"${header}")]
Click Element //*[@id="team"]/div/section[*]/h4[contains(text(),"${header}")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

☝️

@turso turso merged commit 53f7a9f into develop Oct 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments