Commit e09c2cc5 authored by Roque's avatar Roque

erp5_web_project_ui_test: fix test references

parent 52871398
......@@ -56,12 +56,12 @@
<!-- Check project present -->
<tr>
<td>assertElementPresent</td>
<td>//div[@class='document_table']//table//tbody//tr//a[text()="test-project"]</td>
<td>//div[@class='document_table']//table//tbody//tr//a[text()="test-project-home"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>//div[@class='document_table']//table//tbody//tr//a[text()="test-project"]</td>
<td>//div[@class='document_table']//table//tbody//tr//a[text()="test-project-home"]</td>
<td></td>
</tr>
<!-- check project quick view page elements -->
......
......@@ -3,7 +3,7 @@ from datetime import datetime
now = datetime.now()
date_time = now.strftime("%m-%d-%Y-%H-%M-%S")
test_id = "test-project-" + date_time
project_reference = 'test-project-' + date_time
project_reference = 'test-project-home' if home_page else 'test-project'
page_reference = 'test-home-page-' + date_time
module = portal.getDefaultModule('Project')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment