Commit d36a67f 1 parent 10bdd66 commit d36a67f Copy full SHA for d36a67f
File tree 1 file changed +6
-9
lines changed
src/integration-test/groovy/au/org/ala/fieldcapture
1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change 1
1
package au.org.ala.fieldcapture
2
2
3
+ import pages.AdminClearCachePage
3
4
import pages.AdminTools
4
- import pages.ProjectExplorer
5
5
import pages.ProjectIndex
6
6
7
7
class ProjectDashboardTabSpec extends StubbedCasSpec {
@@ -30,15 +30,12 @@ class ProjectDashboardTabSpec extends StubbedCasSpec {
30
30
waitFor {$(" #btnClearMetadataCache" ). displayed}
31
31
$(" #btnClearMetadataCache" ). click()
32
32
33
- when :
34
- to AdminTools
35
-
36
- then :
37
- at AdminTools
38
-
39
-
40
33
when : " Reindex to ensure the project explorer will have predictable data"
34
+ to AdminTools
41
35
reindex()
36
+ to AdminClearCachePage
37
+ clearServiceListCache()
38
+
42
39
to ProjectIndex , projectId
43
40
44
41
then :
@@ -51,7 +48,7 @@ class ProjectDashboardTabSpec extends StubbedCasSpec {
51
48
then :
52
49
waitFor{ $(" #services-dashboard" ). displayed }
53
50
waitFor 20 ,{dashboard. size() == 3 }
54
- def dashboardList = dashboard
51
+ List dashboardList = dashboard
55
52
56
53
and :
57
54
dashboardList[0 ]. serviceTitle. text() == " Collecting, or synthesising baseline data"
You can’t perform that action at this time.
0 commit comments