Skip to content
Snippets Groups Projects

Resolve "Sort updated comments chronoligically"

Merged Dominik Seeger requested to merge 167-sort-updated-comments-chronoligically into master
1 file
+ 4
5
Compare changes
  • Side-by-side
  • Inline
@@ -227,8 +227,7 @@ class UntestedParent:
self._login()
go_to_subscription(self)
score_input = self.browser.find_element_by_id('score-input')
score_input.send_keys(self.sub_type.full_score)
self.browser.find_element_by_id('score-full').click()
# give feedback on first line
self.write_comments_on_lines([(1, 'first ever comment')])
@@ -249,6 +248,7 @@ class UntestedParent:
go_to_subscription(self, stage='validate')
self.write_comments_on_lines([(1, 'the second comment')])
self.browser.find_element_by_id('score-full').click()
self.browser.find_element_by_class_name('final-checkbox').click()
self.browser.find_element_by_id('submit-feedback').click()
sub_url = 'subscription/' + str(self.sub_type.pk) + '/ended'
@@ -258,9 +258,8 @@ class UntestedParent:
self._login()
# goto history
score_input = self.browser.find_element_by_id('score-input')
score_input.send_keys(self.sub_type.full_score)
self.browser.find_element_by_link_text('Feedback History').click()
self.browser.find_element_by_class_name('feedback_row').click()
# validate that second comment is under the first comment
Loading