Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OLAT CI-CD Testing Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Oliver Dam
OLAT CI-CD Testing Project
Commits
dbd0cf7c
Commit
dbd0cf7c
authored
6 years ago
by
srosse
Browse files
Options
Downloads
Patches
Plain Diff
OO-3474: click twice the month link to reload the page
parent
039db926
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/test/java/org/olat/selenium/CourseElementTest.java
+1
-0
1 addition, 0 deletions
src/test/java/org/olat/selenium/CourseElementTest.java
src/test/java/org/olat/selenium/page/repository/FeedPage.java
+3
-4
3 additions, 4 deletions
...test/java/org/olat/selenium/page/repository/FeedPage.java
with
4 additions
and
4 deletions
src/test/java/org/olat/selenium/CourseElementTest.java
+
1
−
0
View file @
dbd0cf7c
...
...
@@ -571,6 +571,7 @@ public class CourseElementTest extends Deployments {
//the participant must see the new post after some click
participantFeed
.
clickFirstMonthOfPager
()
.
clickFirstMonthOfPager
()
.
assertOnBlogPost
(
post2Title
);
}
...
...
This diff is collapsed.
Click to expand it.
src/test/java/org/olat/selenium/page/repository/FeedPage.java
+
3
−
4
View file @
dbd0cf7c
...
...
@@ -178,10 +178,9 @@ public class FeedPage {
* @return
*/
public
FeedPage
clickFirstMonthOfPager
()
{
By
monthBy
=
By
.
cssSelector
(
"div.o_year_navigation ul.o_month>li.o_month>a.o_month"
);
List
<
WebElement
>
monthLinks
=
browser
.
findElements
(
monthBy
);
Assert
.
assertFalse
(
monthLinks
.
isEmpty
());
monthLinks
.
get
(
0
).
click
();
By
monthBy
=
By
.
xpath
(
"//div[contains(@class,'o_year_navigation')]//li[contains(@class,'o_month')][1]/a"
);
OOGraphene
.
waitElement
(
monthBy
,
browser
);
browser
.
findElement
(
monthBy
).
click
();
OOGraphene
.
waitBusy
(
browser
);
return
this
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment