diff --git a/spec/unit/lib/web_page_spec.rb b/spec/unit/lib/web_page_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/unit/lib/web_page_spec.rb
+++ b/spec/unit/lib/web_page_spec.rb
@@ -31,6 +31,7 @@ RSpec.describe 'WebPage' do
     let(:page) { double }
     subject { WebPage.instance.title }
     before do
+      # allow_any_instance_of(WebPage).to receive(:check_validations_are_defined!) { true }
       allow(WebPage.instance).to receive(:current_url) { 'google.com' }
     end
     it do
@@ -125,6 +126,23 @@ RSpec.describe 'WebPage' do
     end
   end
 
+  describe '#initialize' do
+    subject { WebPage.instance }
+    before do
+      allow_any_instance_of(WebPage).to receive(:check_validations_are_defined!) { true }
+      allow_any_instance_of(WebPage).to receive_message_chain('page.driver.browser.manage.window.maximize')
+    end
+    context 'when maximized window' do
+      before do
+        allow(settings).to receive(:maximized_window) { true }
+      end
+      it do
+        allow_any_instance_of(WebPage).to receive_message_chain('page.driver.browser.manage.window.maximize')
+        subject
+      end
+    end
+  end
+
   describe 'inherited callback' do
     let!(:page_class) do
       Howitzer::Utils::PageValidator.instance_variable_set(:@pages, [])
Added unit test for window maximization