Skip to content

Commit 90dd230

Browse files
committed
Refactor: Optimize imports on res for wp components R
1 parent 5d98cf0 commit 90dd230

File tree

1 file changed

+3
-2
lines changed
  • app/src/androidTest/kotlin/org/wordpress/aztec/demo/pages

1 file changed

+3
-2
lines changed

app/src/androidTest/kotlin/org/wordpress/aztec/demo/pages/EditorPage.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import org.wordpress.aztec.demo.BasePage
2323
import org.wordpress.aztec.demo.Matchers
2424
import org.wordpress.aztec.demo.R
2525
import org.wordpress.aztec.R as AztecR
26+
import org.wordpress.aztec.plugins.wpcomments.R as WPCommentsR
2627

2728
class EditorPage : BasePage() {
2829
private var editor: ViewInteraction
@@ -70,8 +71,8 @@ class EditorPage : BasePage() {
7071
underlineButton = onView(withId(AztecR.id.format_bar_button_underline))
7172
strikethroughButton = onView(withId(AztecR.id.format_bar_button_strikethrough))
7273
horizontalRuleButton = onView(withId(AztecR.id.format_bar_button_horizontal_rule))
73-
moreRuleButton = onView(withId(org.wordpress.aztec.plugins.wpcomments.R.id.format_bar_button_more))
74-
pageButton = onView(withId(org.wordpress.aztec.plugins.wpcomments.R.id.format_bar_button_page))
74+
moreRuleButton = onView(withId(WPCommentsR.id.format_bar_button_more))
75+
pageButton = onView(withId(WPCommentsR.id.format_bar_button_page))
7576
htmlButton = onView(withId(AztecR.id.format_bar_button_html))
7677

7778
photoButton = onView(allOf(withId(android.R.id.title), withText("Photo from device")))

0 commit comments

Comments
 (0)