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
dd913b75
Commit
dd913b75
authored
8 years ago
by
srosse
Browse files
Options
Downloads
Patches
Plain Diff
no-jira: selenium, close annoying blue box
parent
624c0490
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/PortfolioTest.java
+2
-6
2 additions, 6 deletions
src/test/java/org/olat/selenium/PortfolioTest.java
src/test/java/org/olat/selenium/page/course/CourseEditorPageFragment.java
+1
-0
1 addition, 0 deletions
...g/olat/selenium/page/course/CourseEditorPageFragment.java
with
3 additions
and
6 deletions
src/test/java/org/olat/selenium/PortfolioTest.java
+
2
−
6
View file @
dd913b75
...
@@ -42,7 +42,6 @@ import org.olat.selenium.page.NavigationPage;
...
@@ -42,7 +42,6 @@ import org.olat.selenium.page.NavigationPage;
import
org.olat.selenium.page.course.CourseEditorPageFragment
;
import
org.olat.selenium.page.course.CourseEditorPageFragment
;
import
org.olat.selenium.page.course.CoursePageFragment
;
import
org.olat.selenium.page.course.CoursePageFragment
;
import
org.olat.selenium.page.forum.ForumPage
;
import
org.olat.selenium.page.forum.ForumPage
;
import
org.olat.selenium.page.graphene.OOGraphene
;
import
org.olat.selenium.page.portfolio.ArtefactWizardPage
;
import
org.olat.selenium.page.portfolio.ArtefactWizardPage
;
import
org.olat.selenium.page.portfolio.PortfolioPage
;
import
org.olat.selenium.page.portfolio.PortfolioPage
;
import
org.olat.selenium.page.repository.AuthoringEnvPage
;
import
org.olat.selenium.page.repository.AuthoringEnvPage
;
...
@@ -806,14 +805,14 @@ public class PortfolioTest {
...
@@ -806,14 +805,14 @@ public class PortfolioTest {
loginPage
loginPage
.
loginAs
(
author
.
getLogin
(),
author
.
getPassword
())
.
loginAs
(
author
.
getLogin
(),
author
.
getPassword
())
.
resume
();
.
resume
();
String
courseTitle
=
"Course-With-Portfolio-"
+
UUID
.
randomUUID
()
.
toString
()
;
String
courseTitle
=
"Course-With-Portfolio-"
+
UUID
.
randomUUID
();
navBar
navBar
.
openAuthoringEnvironment
()
.
openAuthoringEnvironment
()
.
createCourse
(
courseTitle
)
.
createCourse
(
courseTitle
)
.
clickToolbarBack
();
.
clickToolbarBack
();
String
portfolioNodeTitle
=
"Template-EP-1"
;
String
portfolioNodeTitle
=
"Template-EP-1"
;
String
portfolioTitle
=
"Template - EP - "
+
UUID
.
randomUUID
()
.
toString
()
;
String
portfolioTitle
=
"Template - EP - "
+
UUID
.
randomUUID
();
//create a course element of type CP with the CP that we create above
//create a course element of type CP with the CP that we create above
CourseEditorPageFragment
courseEditor
=
CoursePageFragment
.
getCourse
(
browser
)
CourseEditorPageFragment
courseEditor
=
CoursePageFragment
.
getCourse
(
browser
)
...
@@ -833,9 +832,6 @@ public class PortfolioTest {
...
@@ -833,9 +832,6 @@ public class PortfolioTest {
.
selectFirstPageInEditor
()
.
selectFirstPageInEditor
()
.
setPage
(
pageTitle
,
"With a little description"
)
.
setPage
(
pageTitle
,
"With a little description"
)
.
createStructureElement
(
structureElementTitle
,
"Structure description"
);
.
createStructureElement
(
structureElementTitle
,
"Structure description"
);
OOGraphene
.
waitAndCloseBlueMessageWindow
(
browser
);
//open course
//open course
navBar
.
openCourse
(
courseTitle
);
navBar
.
openCourse
(
courseTitle
);
...
...
This diff is collapsed.
Click to expand it.
src/test/java/org/olat/selenium/page/course/CourseEditorPageFragment.java
+
1
−
0
View file @
dd913b75
...
@@ -499,6 +499,7 @@ public class CourseEditorPageFragment {
...
@@ -499,6 +499,7 @@ public class CourseEditorPageFragment {
modal
.
findElement
(
AuthoringEnvPage
.
displayNameInput
).
sendKeys
(
displayName
);
modal
.
findElement
(
AuthoringEnvPage
.
displayNameInput
).
sendKeys
(
displayName
);
modal
.
findElement
(
AuthoringEnvPage
.
createSubmit
).
click
();
modal
.
findElement
(
AuthoringEnvPage
.
createSubmit
).
click
();
OOGraphene
.
waitBusy
(
browser
);
OOGraphene
.
waitBusy
(
browser
);
OOGraphene
.
waitAndCloseBlueMessageWindow
(
browser
);
return
this
;
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