home_spec.rb 520 B

123456789101112131415161718
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. require 'rails_helper'
  3. RSpec.describe 'Mobile > App Home Page', app: :mobile, type: :system do
  4. context 'when on the home page', authenticated_as: :admin do
  5. let(:admin) { create(:admin) }
  6. before do
  7. visit '/'
  8. end
  9. # TODO: align test, when we have the real funtionality on the home page (with correct permissions).
  10. it 'check that we are on the home page' do
  11. expect(page).to have_text('Home')
  12. end
  13. end
  14. end