Skip to content

Commit

Permalink
fix (ui): it test (#1174)
Browse files Browse the repository at this point in the history
* fix (ui): it test

Signed-off-by: Yvonnick Esnault <yvonnick.esnault@corp.ovh.com>

* cr

Signed-off-by: Yvonnick Esnault <yvonnick.esnault@corp.ovh.com>
  • Loading branch information
yesnault authored and bnjjj committed Sep 27, 2017
1 parent fba32aa commit 14db446
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/e2e/create.project.template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- action:
click:
find: a[href*="/project"]
find: '#createProjectURL'
assertions:
- result.url ShouldEqual {{.ui.url}}/project
screenshot: e2e_1_project_create_1_navigate.png
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/views/navbar/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<div class="right menu">
<div class="item link" *ngIf="currentUser">
<a href="#" [routerLink]="['/project']"><i class="plus circle icon"></i>{{ 'project_create' | translate }}</a>
<a id="createProjectURL" href="#" [routerLink]="['/project']"><i class="plus circle icon"></i>{{ 'project_create' | translate }}</a>
</div>
<div class="item link" *ngIf="currentUser">
<a href="#" [routerLink]="['/warnings/show']" [queryParams]="getWarningParams()">
Expand Down

0 comments on commit 14db446

Please sign in to comment.