required for IT to work now that quality profile key is not based on the QP's name anymore
.click();
// on profile page
- assertThat(url()).contains("/profiles/show?key=xoo-basic");
+ assertThat(url()).contains("/profiles/show");
$(".quality-profile-inheritance")
.shouldBe(visible)
.shouldHave(text("active rules"));
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>css=.quality-profiles-table-name a[href^="/profiles/show?key=xoo-sample"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="sample"] .quality-profiles-table-name a</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>css=.quality-profiles-table-name a[href^="/profiles/show?key=xoo-sample"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="sample"] .quality-profiles-table-name a</td>
<td></td>
</tr>
<tr>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>css=.quality-profiles-table-row[data-name="copied"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="copied"]</td>
<td></td>
</tr>
</tbody>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>css=.quality-profiles-table-name a[href^="/profiles/show?key=xoo-sample"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="sample"] .quality-profiles-table-name a</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>css=.quality-profiles-table-name a[href^="/profiles/show?key=xoo-sample"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="sample"] .quality-profiles-table-name a</td>
<td></td>
</tr>
<tr>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>css=.quality-profiles-table-row[data-name="Basic"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="Basic"]</td>
<td></td>
</tr>
<tr>
<td>waitForElementNotPresent</td>
- <td>css=.quality-profiles-table-row[data-name="sample"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="sample"]</td>
<td></td>
</tr>
<tr>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>css=.quality-profiles-table-row[data-name="Basic"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="Basic"]</td>
<td></td>
</tr>
<tr>
<td>assertElementNotPresent</td>
- <td>css=.quality-profiles-table-row[data-name="sample"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="sample"]</td>
<td></td>
</tr>
</tbody>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>css=.quality-profiles-table-name a[href^="/profiles/show?key=xoo-basic"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="Basic"] .quality-profiles-table-name a</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>css=.quality-profiles-table-name a[href^="/profiles/show?key=xoo-basic"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="Basic"] .quality-profiles-table-name a</td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>css=a[href^="/profiles/changelog?key=xoo-basic"]</td>
+ <td>css=a[href^="/profiles/changelog"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>css=a[href^="/profiles/changelog?key=xoo-basic"]</td>
+ <td>css=a[href^="/profiles/changelog"]</td>
<td></td>
</tr>
<tr>
</tr>
<tr>
<td>assertElementPresent</td>
- <td>css=.quality-profiles-table-row[data-key^="xoo-basic"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="Basic"]</td>
<td></td>
</tr>
<tr>
<td>assertText</td>
- <td>css=.quality-profiles-table-row[data-key^="xoo-basic"] .quality-profiles-table-name</td>
+ <td>css=table[data-language="xoo"] tr[data-name="Basic"] .quality-profiles-table-name</td>
<td>*Basic*</td>
</tr>
<tr>
<td>assertText</td>
- <td>css=.quality-profiles-table-row[data-key^="xoo-basic"] .quality-profiles-table-projects</td>
+ <td>css=table[data-language="xoo"] tr[data-name="Basic"] .quality-profiles-table-projects</td>
<td>*Default*</td>
</tr>
<tr>
<td>assertText</td>
- <td>css=.quality-profiles-table-row[data-key^="xoo-basic"] .quality-profiles-table-rules</td>
+ <td>css=table[data-language="xoo"] tr[data-name="Basic"] .quality-profiles-table-rules</td>
<td>*1*</td>
</tr>
<tr>
<td>assertElementPresent</td>
- <td>css=.quality-profiles-table-row[data-key^="xoo-basic"] .quality-profiles-table-rules a[href^="/coding_rules#qprofile=xoo-basic"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="Basic"] .quality-profiles-table-rules a[href^="/coding_rules#qprofile"]</td>
<td></td>
</tr>
<tr>
<td>assertText</td>
- <td>css=.quality-profiles-table-row[data-key^="xoo-empty"] .quality-profiles-table-projects</td>
+ <td>css=table[data-language="xoo"] tr[data-name="empty"] .quality-profiles-table-projects</td>
<td>*0*</td>
</tr>
<tr>
<td>assertText</td>
- <td>css=.quality-profiles-table-row[data-key^="xoo2-basic"] .quality-profiles-table-name</td>
+ <td>css=table[data-language="xoo2"] tr[data-name="Basic"] .quality-profiles-table-name</td>
<td>*Basic*</td>
</tr>
</tbody>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>css=.quality-profiles-table-name a[href^="/profiles/show?key=xoo-sample"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="sample"] .quality-profiles-table-name a</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>css=.quality-profiles-table-name a[href^="/profiles/show?key=xoo-sample"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="sample"] .quality-profiles-table-name a</td>
<td></td>
</tr>
<tr>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>css=.quality-profiles-table-name a[href^="/profiles/show?key=xoo-sample"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="sample"] .quality-profiles-table-name a</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>css=.quality-profiles-table-name a[href^="/profiles/show?key=xoo-sample"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="sample"] .quality-profiles-table-name a</td>
<td></td>
</tr>
<tr>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>css=.quality-profiles-table-name a[href^="/profiles/show?key=xoo-sample"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="sample"] .quality-profiles-table-name a</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>css=.quality-profiles-table-name a[href^="/profiles/show?key=xoo-sample"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="sample"] .quality-profiles-table-name a</td>
<td></td>
</tr>
<tr>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>css=.quality-profiles-table-name a[href^="/profiles/show?key=xoo-basic"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="Basic"] .quality-profiles-table-name a</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>css=.quality-profiles-table-name a[href^="/profiles/show?key=xoo-basic"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="Basic"] .quality-profiles-table-name a</td>
<td></td>
</tr>
<tr>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>css=.quality-profiles-table-row[data-key^="xoo-basic"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="Basic"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>css=.quality-profiles-table-row[data-key^="xoo-basic"] .quality-profiles-table-name a</td>
+ <td>css=table[data-language="xoo"] tr[data-name="Basic"] .quality-profiles-table-name a</td>
<td></td>
</tr>
<tr>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>css=.quality-profiles-table-name a[href^="/profiles/show?key=xoo-sample"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="sample"] .quality-profiles-table-name a</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>css=.quality-profiles-table-name a[href^="/profiles/show?key=xoo-sample"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="sample"] .quality-profiles-table-name a</td>
<td></td>
</tr>
<tr>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>css=.quality-profiles-table-name a[href^="/profiles/show?key=xoo-sample"]</td>
- <td></td>
-</tr>
-<tr>
- <td>assertElementPresent</td>
- <td>css=.quality-profiles-table-row[data-name="new name"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="new name"] .quality-profiles-table-name a</td>
<td></td>
</tr>
</tbody>
</tr>
<tr>
<td>waitForElementPresent</td>
- <td>css=.quality-profiles-table-name a[href^="/profiles/show?key=xoo-sample"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="sample"] .quality-profiles-table-name a</td>
<td></td>
</tr>
<tr>
<td>click</td>
- <td>css=.quality-profiles-table-name a[href^="/profiles/show?key=xoo-sample"]</td>
+ <td>css=table[data-language="xoo"] tr[data-name="sample"] .quality-profiles-table-name a</td>
<td></td>
</tr>
<tr>