Skip to content

make div go to full-screen, works outside of karma. #2292

@mahmoodabuzaina

Description

@mahmoodabuzaina

Expected behavior

I'm trying to make a div element that I injected before each test go to full-screen, outside of karma it works, but have no idea why nothing happens when I test the function in karma.

Actual behavior

call the function to go to full screen and actually do it again manually, but doesn' t go to full screen when checked.

Enviroment Details

node.js, chrome, karma, jasmine

  • Karma version (output of karma --version): 1.1.1
  • Relevant part of your karma.config.js file

Steps to reproduce the behaviour

  1. Have a div element with an id.
  2. write a function to make it go to full-screen.
  3. test the function in karma by injecting a div element and then calling the function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions