Commit 7409a2cc authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui: keep the navigation history after using the logout page

parent 26496528
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
erp5_form: gadget.getDeclaredGadget("erp5_form"), erp5_form: gadget.getDeclaredGadget("erp5_form"),
url_dict: gadget.getUrlForDict({ url_dict: gadget.getUrlForDict({
// Back url // Back url
back: {command: 'display'}, back: {command: 'history_previous'},
// Change language // Change language
change_language: {command: 'display', options: {page: 'language'}} change_language: {command: 'display', options: {page: 'language'}}
}) })
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>992.849.18457.2065</string> </value> <value> <string>994.55155.11493.60433</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1620831029.04</float> <float>1631866791.5</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -33,12 +33,12 @@ ...@@ -33,12 +33,12 @@
<!-- Header has a link to the front page --> <!-- Header has a link to the front page -->
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@data-gadget-scope='header']//a[text()='Logout' and contains(@href, '#!display')]</td> <td>//div[@data-gadget-scope='header']//a[text()='Logout' and contains(@href, '#!history_previous')]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>//div[@data-gadget-scope='header']//a[text()='Logout' and contains(@href, '#!display')]</td> <td>//div[@data-gadget-scope='header']//a[text()='Logout' and contains(@href, '#!history_previous')]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
......
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