1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head profile="http://selenium-ide.openqa.org/profiles/test-case">
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
6 <title>bulk-update-impossible-because-duplicate-keys</title>
9 <table cellpadding="1" cellspacing="1" border="1">
13 <td>/sessions/logout</td>
18 <td>/sessions/login</td>
37 <td>waitForElementPresent</td>
38 <td>css=.js-user-authenticated</td>
43 <td>/dashboard/index/com.sonarsource.it.samples:multi-modules-sample</td>
48 <td>css=#context-navigation .navbar-admin-link</td>
53 <td>link=Update Key</td>
58 <td>id=string_to_replace</td>
59 <td>com.sonarsource.it.samples:multi-modules-sample:module_a </td>
63 <td>id=replacement_string</td>
64 <td>com.sonarsource.it.samples:multi-modules-sample:module_b </td>
68 <td>id=bulk_update_button</td>
73 <td>css=#content h1</td>
74 <td>*Bulk update can not be performed*</td>
78 <td>css=#content p</td>
79 <td>*The replacement of "com.sonarsource.it.samples:multi-modules-sample:module_a" by "com.sonarsource.it.samples:multi-modules-sample:module_b" is impossible as it would result in duplicate keys (in red below):*</td>
83 <td>css=#content .data</td>
84 <td>*Duplicate key*</td>
87 <td>assertElementNotPresent</td>
88 <td>id=bulk_update_button</td>
99 <td>*Update Key*com.sonarsource.it.samples:multi-modules-sample*</td>