@@ -0,0 +1,1504 @@
+package com.vaadin.tests.components;%0D%0A%0D%0Aimport com.vaadin.tests.util.LoremIpsum;%0D%0Aimport com.vaadin.ui.Alignment;%0D%0Aimport com.vaadin.ui.GridLayout;%0D%0Aimport com.vaadin.ui.TextField;%0D%0A%0D%0Apublic class LongTooltip extends TestBase %7B%0D%0A%0D%0A    @Override%0D%0A    public void setup() %7B%0D%0A%0D%0A        GridLayout gl = new GridLayout(2, 2);%0D%0A        gl.setSizeFull();%0D%0A        TextField f1 = createField();%0D%0A        TextField f2 = createField();%0D%0A        TextField f3 = createField();%0D%0A        TextField f4 = createField();%0D%0A        gl.addComponent(f1);%0D%0A        gl.addComponent(f2);%0D%0A        gl.addComponent(f3);%0D%0A        gl.addComponent(f4);%0D%0A%0D%0A        gl.setComponentAlignment(f1, Alignment.TOP_LEFT);%0D%0A        gl.setComponentAlignment(f2, Alignment.TOP_RIGHT);%0D%0A        gl.setComponentAlignment(f3, Alignment.BOTTOM_LEFT);%0D%0A        gl.setComponentAlignment(f4, Alignment.BOTTOM_RIGHT);%0D%0A%0D%0A        getLayout().setSizeFull();%0D%0A        getLayout().addComponent(gl);%0D%0A%0D%0A    %7D%0D%0A%0D%0A    private TextField createField() %7B%0D%0A        final TextField field = new TextField();%0D%0A        field.setDescription(LoremIpsum.get(1000));%0D%0A        return field;%0D%0A    %7D%0D%0A%0D%0A    @Override%0D%0A    protected String getDescription() %7B%0D%0A        return %22For a given cursor position the tooltip should always appear with the same size in the same position. The tooltip should also always be completely on screen and not cause any scrollbars to appear.%22;%0D%0A    %7D%0D%0A%0D%0A    @Override%0D%0A    protected Integer getTicketNumber() %7B%0D%0A        return 7100;%0D%0A    %7D%0D%0A%7D%0D%0A

Test for #7100