Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove show more tags in favor of add tags now that both buttons do t… #8400

Merged
merged 9 commits into from
Sep 22, 2020

Conversation

jywarren
Copy link
Member

…he same thing

follow-up to #8386

@gitpod-io
Copy link

gitpod-io bot commented Sep 15, 2020

@codecov
Copy link

codecov bot commented Sep 15, 2020

Codecov Report

Merging #8400 into main will increase coverage by 0.09%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #8400      +/-   ##
==========================================
+ Coverage   81.89%   81.99%   +0.09%     
==========================================
  Files         101      101              
  Lines        5900     5899       -1     
==========================================
+ Hits         4832     4837       +5     
+ Misses       1068     1062       -6     
Impacted Files Coverage Δ
app/models/tag.rb 97.51% <ø> (ø)
app/controllers/notes_controller.rb 83.46% <100.00%> (ø)
app/controllers/tag_controller.rb 81.40% <100.00%> (-0.06%) ⬇️
app/controllers/wiki_controller.rb 85.40% <100.00%> (ø)
app/models/node.rb 91.51% <100.00%> (-0.18%) ⬇️
app/api/srch/search.rb 70.06% <0.00%> (+3.82%) ⬆️
app/services/execute_search.rb 94.44% <0.00%> (+5.55%) ⬆️

@jywarren
Copy link
Member Author


ERROR["test_adding_a_location_to_the_wiki", #<Minitest::Reporters::Suite:0x00007fc097c30190 @name="PostTest">, 126.729902146]
 test_adding_a_location_to_the_wiki#PostTest (126.73s)
Minitest::UnexpectedError:         Capybara::ElementNotFound: Unable to find css ".tags-list a.show-more-tags"
            test/system/post_test.rb:204:in `block in <class:PostTest>'

@jywarren
Copy link
Member Author

Minitest::UnexpectedError: Capybara::ElementNotFound: Unable to find css "#tags a#tags-open"

@jywarren
Copy link
Member Author

This should be tested in GitPod, logged in and not, and on the profile page.

Equiv page: https://stable.publiclab.org/notes/anngneal/12-08-2017/7-ways-to-measure-monitor-and-evaluate-water-quality

@jywarren
Copy link
Member Author

ERROR["test_adding_a_location_to_the_wiki", #<Minitest::Reporters::Suite:0x00007f2ef09841a0 @name="PostTest">, 164.49098691499998]
 test_adding_a_location_to_the_wiki#PostTest (164.49s)
Minitest::UnexpectedError:         Capybara::ElementNotFound: Unable to find css "#tags a#tags-open"
            test/system/post_test.rb:204:in `block in <class:PostTest>'

@jywarren
Copy link
Member Author

jywarren commented Sep 22, 2020


ERROR["test_adding_a_location_to_the_wiki", #<Minitest::Reporters::Suite:0x00007f6ec4e85a00 @name="PostTest">, 147.309467035]
 test_adding_a_location_to_the_wiki#PostTest (147.31s)
Minitest::UnexpectedError:         Capybara::ElementNotFound: Unable to find css "#tags a.tags-open"
            test/system/post_test.rb:204:in `block in <class:PostTest>'

@jywarren
Copy link
Member Author

OK - noting that the test test 'adding a location to the wiki' do reloads the page to show the inline map, and so this has probably interrupted the tags-open selector. But also $('#tags a#tags-open') didn't work, while $('a#tags-open') did, so I'll try that.

@jywarren
Copy link
Member Author

jywarren commented Sep 22, 2020

This remains:


 FAIL["test_adding_a_tag_to_a_user_profile", #<Minitest::Reporters::Suite:0x00007f0ec9b8cb38 @name="TagTest">, 171.61630327000003]
 test_adding_a_tag_to_a_user_profile#TagTest (171.62s)
        Expected: "specialgroup"
          Actual: "zoom:10"
        test/system/tag_test.rb:50:in `block (2 levels) in <class:TagTest>'
        test/system/tag_test.rb:49:in `block in <class:TagTest>'

Within test 'adding a tag to a user profile' do

@jywarren
Copy link
Member Author

Failing because we no longer show the new tag form on profile pages for some reason??

@jywarren
Copy link
Member Author

Hooray!!!

@jywarren jywarren merged commit e4a0bbf into main Sep 22, 2020
shubhangikori pushed a commit to shubhangikori/plots2 that referenced this pull request Oct 12, 2020
publiclab#8400)

* remove show more tags in favor of add tags now that both buttons do the same thing

follow-up to publiclab#8386

* tooltip

* Update _tagging.html.erb

* Update post_test.rb

* Update post_test.rb

* Update _tagging.html.erb

* try classname instead of id

* switch to a#tags-open

* re-show tags input on profile pages
alvesitalo pushed a commit to alvesitalo/plots2 that referenced this pull request Oct 14, 2020
publiclab#8400)

* remove show more tags in favor of add tags now that both buttons do the same thing

follow-up to publiclab#8386

* tooltip

* Update _tagging.html.erb

* Update post_test.rb

* Update post_test.rb

* Update _tagging.html.erb

* try classname instead of id

* switch to a#tags-open

* re-show tags input on profile pages
piyushswain pushed a commit to piyushswain/plots2 that referenced this pull request Oct 22, 2020
publiclab#8400)

* remove show more tags in favor of add tags now that both buttons do the same thing

follow-up to publiclab#8386

* tooltip

* Update _tagging.html.erb

* Update post_test.rb

* Update post_test.rb

* Update _tagging.html.erb

* try classname instead of id

* switch to a#tags-open

* re-show tags input on profile pages
manchere pushed a commit to manchere/plots2 that referenced this pull request Feb 13, 2021
publiclab#8400)

* remove show more tags in favor of add tags now that both buttons do the same thing

follow-up to publiclab#8386

* tooltip

* Update _tagging.html.erb

* Update post_test.rb

* Update post_test.rb

* Update _tagging.html.erb

* try classname instead of id

* switch to a#tags-open

* re-show tags input on profile pages
lagunasmel pushed a commit to lagunasmel/plots2 that referenced this pull request Mar 2, 2021
publiclab#8400)

* remove show more tags in favor of add tags now that both buttons do the same thing

follow-up to publiclab#8386

* tooltip

* Update _tagging.html.erb

* Update post_test.rb

* Update post_test.rb

* Update _tagging.html.erb

* try classname instead of id

* switch to a#tags-open

* re-show tags input on profile pages
reginaalyssa pushed a commit to reginaalyssa/plots2 that referenced this pull request Oct 16, 2021
publiclab#8400)

* remove show more tags in favor of add tags now that both buttons do the same thing

follow-up to publiclab#8386

* tooltip

* Update _tagging.html.erb

* Update post_test.rb

* Update post_test.rb

* Update _tagging.html.erb

* try classname instead of id

* switch to a#tags-open

* re-show tags input on profile pages
ampwang pushed a commit to ampwang/plots2 that referenced this pull request Oct 26, 2021
publiclab#8400)

* remove show more tags in favor of add tags now that both buttons do the same thing

follow-up to publiclab#8386

* tooltip

* Update _tagging.html.erb

* Update post_test.rb

* Update post_test.rb

* Update _tagging.html.erb

* try classname instead of id

* switch to a#tags-open

* re-show tags input on profile pages
billymoroney1 pushed a commit to billymoroney1/plots2 that referenced this pull request Dec 28, 2021
publiclab#8400)

* remove show more tags in favor of add tags now that both buttons do the same thing

follow-up to publiclab#8386

* tooltip

* Update _tagging.html.erb

* Update post_test.rb

* Update post_test.rb

* Update _tagging.html.erb

* try classname instead of id

* switch to a#tags-open

* re-show tags input on profile pages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant