Skip to content

Commit

Permalink
Merge branch 'dev' into redesign/profile-page
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines committed Dec 3, 2024
2 parents adad4a7 + 8196e38 commit 9904350
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/lesson.rb
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def probable_start_destination
end

def tags_without_section
tags.includes(:sections).select { |t| (t.sections & sections).empty? }
tags.includes(:sections).select { |t| (t.sections & sections).empty? } # rubocop:disable Style/ArrayIntersect
end

private
Expand Down
2 changes: 1 addition & 1 deletion spec/cypress/e2e/vouchers_redemptions_spec_helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export function logoutAndLoginAsTeacher(context) {

export function verifyNoTutorialsButUserEligibleAsTutor(context, shouldBeEligible = true) {
cy.getBySelector("tutorial-row").should("not.exist");
cy.getBySelector("new-tutorial-btn").click();
cy.getBySelector("new-tutorial-btn").should("be.visible").click();
cy.then(() => {
cy.getBySelector("tutorial-form").should("be.visible");
cy.getBySelector("tutor-select").within(() => {
Expand Down

0 comments on commit 9904350

Please sign in to comment.